Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To know about Mock Server framework.

Platform Mock Server is used to test the working of agents by creating expectations for each DevOps tool. When Mock Server receives a requests it matches the request against active expectations that have been configured. Platform Mock Server is available to use in the form of jar file.

Expectations

Every expectation can have 4 fields:

  1. Path:-   URL of the expectation which agent will call for the response (String).
  2. Parameters:-  List of additional parameters required in the URL (list of key-value Pairs).
  3. isResponseJson:-  Whether the response is a json object or a list of json(true/false)
  4. Response:-  Mock Response (String).


Back to Top

  • No labels