Class QueryParameterDependency

java.lang.Object
Services.Dependencies.QueryParameterDependency

public class QueryParameterDependency extends Object
Handles analysis of query parameters to detect dependencies between HTTP requests.

This class iterates over query parameters of a request and compares them with previous responses to identify dependencies. Detected dependencies are added to the DependencyGraph.

  • Constructor Details

    • QueryParameterDependency

      public QueryParameterDependency()
  • Method Details

    • check_queryParams_dependency

      public static void check_queryParams_dependency(List<ResponseUnstructured> responseUnstructuredList, int req_index, DependencyGraph dependencyGraph, MyNode to, int first_index_response)
      Checks for query parameter-based dependencies for a given request.

      For each query parameter in the target request, this method examines all previous responses (from first_index_response to req_index - 1) to detect dependencies, updating the DependencyGraph if a dependency is found.

      Parameters:
      responseUnstructuredList - list of previously analyzed unstructured responses
      req_index - index of the current request in the HAR sequence
      dependencyGraph - the graph to update with detected dependencies
      to - the target node representing the current request
      first_index_response - index of the first response to consider for dependency checks