Handling Dynamic Values (Correlation)
Learn to extract and reuse dynamic values from server responses using Regular Expression Extractors.
Dynamic Values Explained
When you interact with a web application, many values in the server's responses aren't static. These are called dynamic values.
They change with each user, session, or even each request. Think of them like temporary keys the server gives you.
- Session IDs
- Authentication Tokens
- CSRF Tokens
Why Correlation is Essential
If your performance test simply records and replays requests, it often fails. Why?
Because the recorded requests contain old, invalid dynamic values. The server rejects them, thinking you're not a legitimate user or session.
Correlation is the process of extracting these dynamic values from one response and reusing them in subsequent requests.
All lessons in this course
- Parameterization with CSV Data
- Handling Dynamic Values (Correlation)
- JMeter Functions and Variables
- Database Testing with JDBC