Skip to content
Snippets Groups Projects
Commit bb4ce11f authored by Jueun Park's avatar Jueun Park
Browse files

Update

parent bf0bf335
No related branches found
No related tags found
No related merge requests found
Pipeline #11509 passed with warnings
......@@ -36,10 +36,13 @@ for (ParameterOb o : operationObject.getParameterObs()) {
paths = p.addinfQueryParameters(pathRef, paths);
}
for (String path : paths)
connectGET(path);
connect(path);
\end{lstlisting}
Before it starts with the parameter inference, the random testing generator of Section 5.1 is executed first (Line 1). During this execution, the status code of a response is checked if it is a successful response with 200 status code (Line 4). Afterwards, the response schema of returned values is also checked. If it is in type array, the function "writeDictionary" is iterated, otherwise it only executed once (Line 6-9). "writeDictionary" is not attributed, because it would be critical for the rule of RAG that an AST structure must not be edited, while attributes are computed. However, the function "writeDictionary" saves the returend values of a successful response in seperate properties (e.g. properties "id" and "name" are seperately stored with their value in the dictionary).
Before it starts with the parameter inference, the random testing generator of Section 5.1 is executed first (Line 1). During this execution, the status code of a response is checked if it is a successful response with 200 status code (Line 4). Afterwards, the response schema of returned values is also checked. If it is in type array, the function "writeDictionary" is iterated, otherwise it only executed once (Line 6-9). "writeDictionary" is not attributed, because it would be critical for the rule of RAG that an AST structure must not be edited, while attributes are computed. However, the function "writeDictionary" saves the returend values of a successful response in seperate properties and write them in a dictionary (e.g. properties "id" and "name" are seperately stored with their value in the dictionary). If the schema of a response provides a reference of a schema object, the field name gets a name of a reference as prefix. Subsequently, this implementation does the similar way of execution in random testing at the generation phase. Firstly, it iterates all parameter objects and examines whether the parameter type is Path or Query.
% Helpful attributes (Collection, inherited)
% Result
asdfasdfsdafasdf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment