The JSON Schema Compliance assertion verifies that the JSON body of the last response is compliant with the associated JSON schema definition.
This assertion is applicable to the REST, GraphQL, HTTP, and JMS request test steps only.
Availability
This assertion is available in multiple ReadyAPI applications. Depending on the application, it validates the following data:
In... | Checks... | To learn more... |
---|---|---|
Functional tests | The response. | See Working With Assertions in Functional Tests. |
Security tests | The response. | See Security Assertions. |
Create an assertion
Setting up properties
Other schema compliance assertions
Add other schema compliance assertions:
-
Schema Compliance Assertion – Verifies that the response complies with a .wsdl or .wadl schema.
-
Swagger Compliance Assertion – Verifies that the response complies with a Swagger/OpenAPI definition.
See Also
Compliance, Status and Standards Assertions
Schema Compliance Assertion