How Auto Correlation Works in AIQ
Last reviewed: September 29, 2026
Use this article to understand the mechanics of AIQ Auto Correlation and how extracted values are applied during replay.
BasicWhat Examplechanged in this article
Let’s
- Kept
there be a Alpha request/response Pair such thataddedbut
focusrequest(Alpha) = http://server/getProductsresponse(Alpha) = [{productId=512,productName=“Screw”, price=the “5”},{productId=631,productName=“Hammer”,howprice=it“10.4”}works”]
substitution.AndclearerletmechanicsBetaaroundbeextraction,avariablerequest/responsereuse,Pairandsuchreplaythat - Added validationmatchingrequest,
targetrequest(Beta)checks=forhttp://server/purchaseProduct?id=512response(Beta)source=response,…Apattern, and false-positive correlationcouldcandidates. - Added
betroubleshootingseenguidanceherefor values that change per user, per iteration, or per environment.
Validation workflow
- Locate the dynamic value in the
productIdsourcefromresponse or prior step output. - Confirm where the
requestvalueofmustAlphabewhich is usedreused inthearesponselaterofrequestBeta.orHighlightingaction. - Replay with correlation enabled and verify the
correlation.substitutedvalueresponse(A) = [{productId=512,productName=“Screw”, price= “5”},{productId=631,productName=“Hammer”, price= “10.4”} ]request(B) = http://server/purchaseProduct?id=512Supported Formats HTML
XML
JSON
CSV
Features and Best Practices
When working with autocorrelation, Always check to Execute all HAR calls (even after a failure) inmatches the Options panel of Scenario Builder under HAR Script Options.
Never check 'Mark each request as a step' (it will make autocorrelation fail sometimes).
Autocorrelation rejects unnecessary correlations.
Autocorrelation makes har scripts Less brittle.
Autocorrelation cleans duplicated correlations.
A1 -- > B
A2 -- > C
A1 == A2
Automatically transform A2 to A1 (Shrinks memory footprint)
A1 -- > B
A1 -- > C
'Show headers, requests, and responses in each test casecurrent execution output'context.
Review isnote: usefulThis forpage now complements the Developmentoverview teamby to debug, similar toexplaining the designercorrelation script debug option. Please mark this option if (and only if) you want the development team to review autocorrelation.lifecycle.
Autocorrelation supports URLs with or without port, the below 2 URLs are handled the same way.
https://appvance.ci.cloudbees.com/login.html
https://appvance.ci.cloudbees.com:443/login.html
Last updated: AugustSeptember 09,29, 20232026
If you have any feedback on this topic, please contact us at documentation@appvance.ai.