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:
- Path:- URL of the expectation which agent will call for the response (String).
- Parameters:- List of additional parameters required in the URL (list of key-value Pairs).
- isResponseJson:- Whether the response is a json object or a list of json(true/false)
- Response:- Mock Response (String).
Back to Top