Class RestProblem
- java.lang.Object
-
- org.evomaster.client.java.controller.problem.RestProblem
-
- All Implemented Interfaces:
ProblemInfo
public class RestProblem extends Object implements ProblemInfo
Created by arcuri82 on 05-Nov-18.
-
-
Constructor Summary
Constructors Constructor Description RestProblem(String swaggerJsonUrl, List<String> endpointsToSkip)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getEndpointsToSkip()StringgetSwaggerJsonUrl()
-
-
-
Constructor Detail
-
RestProblem
public RestProblem(String swaggerJsonUrl, List<String> endpointsToSkip)
- Parameters:
swaggerJsonUrl- Provide the URL of where the swagger.json can be foundendpointsToSkip- When testing a REST API, there might be some endpoints that are not so important to test. For example, in Spring, health-check endpoints like "/heapdump" are not so interesting to test, and they can be very expensive to run. Here can specify a list of endpoints (as defined in the schema) to skip.
-
-