Viewing JSON data
You can view the JSON data in a JSON format from the test editor, and you can use this data for data correlation.
Before you begin
- Recorded an HTTP test that contains JSON data.
- Selected the JSON value as ON from the product preferences ( ).
About this task
When HTTP tests contain JSON data in a POST request or response, you can view the JSON data in the Rational® Performance Tester test editor. You can inspect the JSON data to determine if the data can be transformed to a more readable JSON format so that you can use this data for easier data correlation.
Procedure
- Open the HTTP test from the Test Navigator.
- Expand the test in the Test Contents area.
- Select a POST request or a response element that contains JSON data.
Results
What to do next
You can inspect the JSON data for easier data correlation. You can also create a reference in the JSON data to use the JSON notation instead of regular expressions to locate the JSON value at run time. See Creating a Reference or a Field Reference.