Take a look at theBoundary Extractor
<https://jmeter.apache.org/usermanual/component_reference.html#Boundary_Extractor>,
it's *very* simple approach, all you need to do is to provide "left" and
"right" boundaries and the extractor will fetch everything in-between
and save into a JMeter Variable
<https://jmeter.apache.org/usermanual/functions.html>
1. code_challenge:
* Name of created variable: anything meaningful, i.e. *code_challenge*
* Left Boundary: *code_challenge=*
* Right Boundary: *&*
2. The same for the state
* Name of created variable: *state*
* Left Boundary: *state=*
* Right Boundary: *&*
3. The Boundary Extractor needs to be placed as the child of the
request
<https://www.blazemeter.com/blog/jmeter-scoping-rules-the-ultimate-guide/>
which returns your "query" *
*
4. The variables can be accessed as *${code_challenge}* and *${state}*
later on where required*
*
On 5/18/2022 12:06 PM, Anil Gaur wrote:
Hello all,
I stucked on below string for correlation. Can someone help me here.
Query:-
<input type="hidden" id="ReturnUrl" name="ReturnUrl"
value="/connect/authorize/callback?client_id=CIMI3&redirect_uri=https%3A%2F%2Fqa.cimi.online%2F%23%2Fsignin-oidc&response_type=code&scope=CIMI3%20openid%20profile%20email&state=a879b4182bd64002b886fe4745b5de50&code_challenge=2hm6Y_WZMDR_u5xxl6_ElC3zJOWqB1cQ-vvQelZSlRY&code_challenge_method=S256&response_mode=query"
/>
I need correlation for code_challenge and state.
Regards,
ANIL