Variables in vREST NG provides a way to dynamically change the test case properties at run time. In vREST, variables are of format {{VARIABLE_NAME}} and can be used in the following test case properties:

  • URL
  • Request Query and Form Parameters
  • Request Body
  • Request Headers
  • Assertions
  • Expected Body
  • Expected Schema
  • Variable Extractor

Please read through the following sections:

  1. Global Variables
  2. Special Variables
  3. Extract variables from API response
  4. Extract variables via Utility Methods