The difference between jmeter automatic redirection and follow redirection

Automatic redirection: After HttpClient receives a request, if the request contains a redirection request, HttpClient can automatically jump, but only for GET and Head requests, if this option is checked, "follow redirection" will be invalid; automatic redirection can Automatically redirect to the final target page, but JMeter does not record the content of the redirection process. For example, the content of the redirection process cannot be found in the viewing result tree (A redirects to B, at this time, only the content of B is recorded, not A's content, the response content of A is temporarily called process content), if you want to associate at this time, it is a pity that you cannot associate it.
Follow redirection: The default option of the Http Request sampler, but when the response code is 3XX (for example, 301 is a redirection), it will automatically jump to the target address. Different from automatic redirection, JMeter will record all request responses during the redirection process, and you can see the content returned by the server when viewing the result tree, so you can correlate the content of the response. For
example , if you want to test the login, you put the POST request Just follow the redirect

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326443846&siteId=291194637