JSON or JavaScript Object Notation is an open standard format that uses human-readable text to transmit data objects consisting of "attribute": "value" pairs. It is used primarily to transmit data between a server and web application, as an alternative to XML.

Adding JSON Parameter

The following fields need to be filled to add JSON Parameter:

Parameter Details

Pages

If All Pages is selected, Load Test searches for the specified pattern in all the pages, starting from the first page. If Specified is selected then Load Test searches for the pattern only in the selected and specified pages.

Occurrence Count

It is required if multiple occurrences are found of a specified node. The user has four options for this.

Advanced

Till the end: Check this box if the Maximum Length is till the end.

Action on Not Found

If the pattern, for which Load Test is searching, is not found, then the user can make Load Test behave in the following ways:

Conversion

This option is used to encode search patterns. It has following options:

Encoding Option

Note: JSON path should start with "root.".

  1. If your values contain special characters that you prefer not to encode, you have the choice of using either "Do not encode special characters" or "Encode only specified characters." A practical illustration of this situation can be found in the domain name https://www.cavisson.com, which includes special characters such as (:/).