'JMETER Recording Controller, getting always same state and nonce values from redirect URL
I've captured a JMeter scenario with Record Controller for Azure cloud, with Oauth2 + openId adhoc security layer config, and with 2 redirections before final redirect login webpage.
Checking root URL path (https://example.com/), with linux "wget " and nodeJS+Puppetter to get redirections, i've checked that the values from the redirections for "state" and "nonce" params from URL (that are calculated from root site with Javascript), are always the same values, captured from the Recording Scenario step (i mean, accessing root DNS with browser/wget/nodeJs, i'm getting dynamic values for "state" and "nonce" URL params in each call to main root URL, but from JMeter JMX recorded script, "state" and "nonce" params, are not been dynamic as from a browser, and always have the same values, despite i've checked step by step HTTP Request to see the way i can set them in Recorded Scenario to avoid the "static" same values.
In a step #1 I'm visiting url: https://example.com/
This url calculates a value that sends to the server, redirects me back to https://example.com/login?state=[dynamic_calculated]&nonce=[dynamic_calculated], and another redirection (2nd), gives me the login web access.
In my JMeter script, state and nonce params, are not calculated in each JMX script execution, having always the same values as captured initially with the Record Controller.
Could you please help me to check how can i get state and nonce param values in URL dynamically calculated, as from a browser navigation behaviour?
Thanks in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
