Jmeter- how to extract data from redirection

后端 未结 1 450
余生分开走
余生分开走 2021-01-24 09:37

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 v

1条回答
  •  时光说笑
    2021-01-24 10:32

    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.

    0 讨论(0)
提交回复
热议问题