Package Services.Dependencies
Class QueryParameterDependency
java.lang.Object
Services.Dependencies.QueryParameterDependency
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheck_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.
-
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_responsetoreq_index - 1) to detect dependencies, updating theDependencyGraphif a dependency is found.- Parameters:
responseUnstructuredList- list of previously analyzed unstructured responsesreq_index- index of the current request in the HAR sequencedependencyGraph- the graph to update with detected dependenciesto- the target node representing the current requestfirst_index_response- index of the first response to consider for dependency checks
-