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

Removed resources with no valid servers (invalid and local)

parent 3f139526
No related branches found
No related tags found
1 merge request!6Resolve "check and fix random request generator"
Pipeline #13324 passed
......@@ -9,7 +9,6 @@ aspect RandomRequestGenerator{
*/ syn List<String> OpenAPIObject.generateRequests(){
List<String> urls = new ArrayList<>();
try {
System.out.println(getNumP());
for (PathsObject p : getPList())
urls.addAll(p.generateUrl());
} catch (Exception e) {
......@@ -35,10 +34,8 @@ aspect RandomRequestGenerator{
path = path.replace("{" + t.getName() + "}", t.getS().getDefault());
}
if (p.hasG()) {
if (p.hasG())
urls.add(p.getG().generateRandomUrl(path + getP(i).getRef()));
System.out.println(p.hasG());
}
if (p.hasPostOb())
urls.add(p.getPostOb().generateRandomUrl(path + getP(i).getRef()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment