TC Expected Body sub tab
If you want to validate the actual API response from a pre-defined API response, then you may enable this sub-tab. You may specify the expected response of the API in this tab.
If your API has dynamic response, then also you may configure expected body with the help of special variables. For more information, please read various response validation scenarios.
An assertion `Text Body => Default Validator` will be automatically created whenever you enable the Expected body sub tab. That means that vREST will send this expected body and actual body to a built-in response validator `Default Validator` to validate the response. You may change this built-in Default Validator to any custom response validator of your choice.