问题
I have any API. When i hit this API by jmeter, ir redirects to server A(do some processing), then redirects to B, and finally redirects to C( which is a HTML page).
In view result tree, i only get he final HTML response. Is there some way, by which i can see the request response to server A & B
回答1:
Just uncheck "Follow redirects" option in HTTP Request
See:
- http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request
You will then need to emit yourselft the requests by Using A Regexp Extractor to extract from Header the URL and then call it.
来源:https://stackoverflow.com/questions/33823194/jmeter-how-to-extract-data-from-redirection