Before I introduced a debugging tool for JMeter Debug Sampler, which can output jmeter variables, attributes, or even system properties without sending a real request to the server. In that case, what does HTTP Mirror server do?
One, the role of HTTP Mirror server:
It can temporarily build an HTTP server locally, which returns the received request as it is, so that the specific contents of the sent request can be seen for debugging.
Second, example:
1. Add HTTP Mirror Server:
Right click on workbench-->add-->non-test elements-->http Mirror Server and click "Start" to start
2. Send the request to the server:
3. Execution Result:
Request
Response:
As you can see: The content in response is exactly the same as the request content, and we can use this method to determine whether the request we sent out is really the result we expected.
Website:
Http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Mirror_Server
(11) JMeter Another debugging tool HTTP Mirror Server