How to capture dynamic value from Response Headers in Jmeter

93 Views Asked by At

I figured out the dynamics values which is nonce and state enter image description here.

These dynamic values are in Response data under Response headers in the URL enter image description here.

I tried to capture using Regular Expression Extractor and Boundary Expresssion Extractor but still it shows nothing. enter image description here

Could anyone please help me.

1

There are 1 best solutions below

0
Dmitri T On

RegExp tester mode of the View Results Tree listener only works with response data, you're being redirected therefore there is no response data hence it shows blank value and you will not be able to validate the regular expression.

The options are in:

  1. Either copy response headers to Dummy Sampler which allows testing your PostProcessors without hitting the system under test

  2. Or Configure Regular Expression Extractor to look into Response Headers (and most probably to sub-samples) and add Debug Sampler or PostProcessor to see what was extracted.

    enter image description here