jmeter - How to capture redirect response header -


i trying record simple login , logout flow .net application. after submit login credentials welcome page's url has large alpha numeric number. number required continue next steps.

on fiddler have noticed login credential submission request results in 302 response , response contain a=129characterstring need in subsequent requests.

on jmeter have added recording controller , on http(s) test script recorder have follow redirects , use keepalive checked (see below screenshot) http(s) test script recorder settings

i have recorded follow redirects unchecked , different options grouping , http sampler settings.

but none of them able record/capture 302 response see on fiddler. instead login credential submission request returns 200 response, if login fails.

it not if jmeter not recording redirect requests, further down scenario flow have redirect request captured.

i can't 1 is/has faced problem. have suggestions on should doing differently 302 response?

to this:

  • record default options, redirect http request triggered 302 disabled default.

then need after uncheck "follow redirect" in first one, , add regular expression post processor extract data want.

then enable commented second request , inject extracted variable.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -