Testing / Apache JMeter Interview questions
What is the difference between Correlation and Parameterization?
Parameterization means feeding a test different, varying input data across iterations or threads - usernames, search terms, product IDs - typically sourced from a CSV Data Set Config, so a test doesn't send the exact same static values on every request.
Correlation means capturing a dynamic value that the server itself generates and returns in one response - a session token, view-state parameter, or CSRF token - and reusing that captured value in a subsequent request that requires it, typically via an extractor like the Regular Expression Extractor or JSON Extractor.
The key distinction is where the varying value comes from: parameterization supplies data the tester controls from an external source, while correlation captures data the server controls and generates dynamically at runtime, which is why correlation specifically requires an extraction step rather than just a data file.
More Related questions...
