API mock parameters sub tab

Request Parameters sub tab is used to match the API mock request parameters of following types:

  1. Path Parameters
  2. Query Parameters
  3. Body Parameters
    You may configure the body parameters either in this sub tab or in Raw Body sub tab.

With respect to request parameters specified in this tab, Mock server performs the following checks on the incoming mock request:

  1. If the `Required` attribute is ticked for a request parameter, then Mock server will match the name of the parameter, field type of the parameter and parameter type of the parameter from the incoming mock request.
  2. If the `Match Value` attribute is ticked for a request parameter, then Mock server will also match the value of the specified parameter in the incoming mock request.

Note:

  1. If the value is specified as variable, then `Match Value` attribute cannot be ticked and value will be assigned to the variable based on the incoming mock request.
  2. For detailed information, please read how mock server works.

 

Â