@Path(value="/test-scenarios") @Produces(value="application/json") public class TestScenarioService extends Object
| Constructor and Description |
|---|
TestScenarioService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getTestScenario(String id)
This has the implementation of the REST API for fetching a specific TestScenario.
|
javax.ws.rs.core.Response |
getTestScenariosForTestPlan(String testPlanId,
boolean requireTestCaseInfo)
This has the implementation of the REST API for fetching all the TestScenarios ran for a given infrastructure.
|
@GET
public javax.ws.rs.core.Response getTestScenariosForTestPlan(@QueryParam(value="test-plan-id")
String testPlanId,
@QueryParam(value="require-testcase-info")
boolean requireTestCaseInfo)
@GET
@Path(value="/{id}")
public javax.ws.rs.core.Response getTestScenario(@PathParam(value="id")
String id)
Copyright © 2019 WSO2. All rights reserved.