3.2.1.3.3 Data Assertion

Data assertion nothing but validating the extracted data.

Click on the response schema tab. You will see the previously added response schema

Update the schema with assert operation and assert data.

In the above case we gave the comparison data statically we can also parameterize the assert data to dynamic data

To do the dynamic data you need to follow the QATTS parameterized syntax as we used in request template

Syntax: ${ProductElementName}

Click on Save button and then click on Test button

Click on the Assert Result tab. You can see status of every object.

Last updated