'I am automating a login script for perdormance teating in j meter

I want to make script using jmeter for performance testing of login page . The authorization type is code and code challenge method is sh256. How could I fetch code challenge code verifier and state or noance values daynamically. The script is successfull for 1 single user but failing for multiple can any one help? Also I am using blazemeter to record script..



Solution 1:[1]

The process of "fetching" dynamic values is known as correlation and there is a lot of information on the topic in the Internet, i.e. How to Handle Correlation in JMeter

The main steps are:

  1. Use a suitable JMeter Post-Processor to extract a dynamic value from the response into a JMeter Variable
  2. Replace recorded hard-coded value with the JMeter Variable from the previous step

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitri T