Achieve Data flow for E2E Testing
Last updated
Last updated
Effectively manage and reuse dynamic data extracted from API responses to streamline your API testing. Our tool allows you to store key-value pairs from API responses for subsequent use within the same test case or across multiple test cases of different technology.
In this section, you'll learn how to store the response value and re-use them along with some examples.
Identify Target Data: Determine the specific key-value pairs you want to extract from the API response and select the save option.
ss
Store in Variable: Assign the extracted value to a parameter for later use. You can also create a new parameter of type and assign.
ss
After storing the required values from the API response, you can use the stored values as:
Reference Variable: In subsequent test steps or other test cases, reference the stored variable using its name.
Dynamic Parameterisation: Utilise variables to create dynamic test data and enhance test coverage.
Cross-Test Case Dependency: Pass values between test cases to simulate real-world scenarios.
To use the stored values, navigate to API editor and type '{{'. Select runtime parameter and choose the parameter in which the value is stored.
ss
Click on 'Send' to send the API request and get the response in the editor.
ss
By effectively utilising this feature, you can significantly improve the efficiency and reliability of your API test automation efforts.