Skip to main content

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 that
    request(Alpha) = http://server/getProducts
    response(Alpha) = [{productId=512,productName=“Screw”, price=the “5”},
    {productId=631,productName=“Hammer”,how price=it “10.4”}works” ]
    focus
    but
    added

    Andclearer letmechanics Betaaround beextraction, avariable request/responsereuse, Pairand suchreplay that

    substitution.
  • Added
    validation
    request(Beta)checks =for http://server/purchaseProduct?id=512
    response(Beta)source =response, …
    target
    request,
    matching

    Apattern, and false-positive correlation couldcandidates.

  • Added betroubleshooting seenguidance herefor values that change per user, per iteration, or per environment.

Validation workflow

  1. Locate the dynamic value in the productIdsource fromresponse or prior step output.
  2. Confirm where the requestvalue ofmust Alphabe which is usedreused in thea responselater ofrequest Beta.or Highlightingaction.
  3. Replay with correlation enabled and verify the correlation.substituted
    value
    response(A) = [{productId=512,productName=“Screw”, price= “5”},
    {productId=631,productName=“Hammer”, price= “10.4”} ]
    request(B) = http://server/purchaseProduct?id=512

    Supported 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.

      option

      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.