Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If the above criteria matches then vREST Mock Server responds with the response provided in "Response Tab" > "Body Sub-tab" else it responds an error page with message "Mock request not found." along with reasons, why it doesn't match with the list of API mocks, you have specified.

Producing dynamic responses with Mock Server

Mock Server can be tuned to produce dynamic response with the help of variables. Mock Server receives the variable's value from the following request attributes:

  • Request URL
  • Request Parameters

And replace the received variable's value in the response body.