@Path(value="/test-cases") @Produces(value="application/json") public class TestCaseService extends Object
| Constructor and Description |
|---|
TestCaseService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getTestCase(String id)
This has the implementation of the REST API for fetching a specific TestCase by id.
|
javax.ws.rs.core.Response |
getTestCasesForTestScenario(String testScenarioId)
This has the implementation of the REST API for fetching all the TestCases available in a TestScenario.
|
@GET
public javax.ws.rs.core.Response getTestCasesForTestScenario(@QueryParam(value="test-scenario-id")
String testScenarioId)
@GET
@Path(value="/{id}")
public javax.ws.rs.core.Response getTestCase(@PathParam(value="id")
String id)
Copyright © 2019 WSO2. All rights reserved.