TC Expected Schema sub tab

This tab is useful for only JSON responses.

If you want to validate the schema of your API response, then you may enable this sub-tab. You may specify the expected response schema of the API in this tab.

An assertion `Text Body => Default Schema Validator` will be automatically created whenever you enable the Expected Schema sub tab. That means that vREST will send this expected schema and actual body to a built-in response validator `Default Schema Validator` to validate the response schema.

  1. Use this link to generate JSON schema of the expected JSON response.
    1. Please note that the above link redirects you to a third party tool to generate JSON schema.
    2. vREST provides this link for the convenience of our users and vREST do not own such utility.
  2. vREST currently supports draft-03 and draft-04 versions of JSON schema.
  3. Please use this link for more information about JSON schema.