Turn your manual testers into automation experts! Request a DemoStart testRigor Free

Release Notes: API (Multiple body parameters)

This week, we released the ability to use multiple body parameters for API calls.

API calls

It is now possible to use more than one body parameter.

  • We need to use and in the command to add a new body parameter.

Example:

check that api call was made to POST "https://www.youtube.com/youtubei/v1/search?key" with body containing "oq=testrigor" and "browserName"
  • Users can define the parameter type as text or json path to perform the validation.
  • Text is used by default when no type is specified, and it is used where text is specified.
    • When text is the type, testRigor will compare the value as it is.

Example: body containing "oq=testrigor" or body containing text "oq=testrigor"

  • JSON is used only when specified.
    • Parameters should have a key and a value separated by a colon (:).

Example: body containing json "hl: en"

  • JSON PATH, also used only when specified, is more technical and more powerful.
    • Users should specify a json path as in the documentation here.

Example: body containing json path "$.context.client[?(@.hl=='en')]"

  • We can combine different types as in the example below:
check that api call was made to POST "https://www.youtube.com/youtubei/v1/search?key" with body containing json "hl: en" and "browserName" and json path "$.context.client[?(@.hl=='en')]"
Related Articles

Release Notes: Typing and sendKeys, Screen Reading

Typing text over 250 characters using sendKeys Easily type text exceeding 250 characters in fields with the sendKeys command. To ...

Release Notes: Telnyx integration, API Settings, Run Options

SMS Validation Integration via Telnyx in testRigor We’re excited to add Telnyx as a new SMS validation provider in Settings ...

Release Notes: Rule History, Failed Rules and AI new features

Version History with Rollback for Rule Management We’ve added a Version History section to enhance rule management by allowing ...
On our website, we utilize cookies to ensure that your browsing experience is tailored to your preferences and needs. By clicking "Accept," you agree to the use of all cookies. Learn more.
Cookie settings
Privacy Overview
This site utilizes cookies to enhance your browsing experience. Among these, essential cookies are stored on your browser as they are necessary for ...
Read more
Strictly Necessary CookiesAlways Enabled
Essential cookies are crucial for the proper functioning and security of the website.
Non-NecessaryEnabled
Cookies that are not essential for the website's functionality but are employed to gather additional data. You can choose to opt out by using this toggle switch. These cookies gather data for analytics and performance tracking purposes.