Warning
The CICD pipeline is deprecated.
Sample product artifacts and and sample test cases for WSO2 API Manager. This repository is used as the sample for artifacts repository in WSO2 AWS pipeline for WSO2APIM.
- A sample scenario test suite implemented using Testng is in
tests/wso2am/
directory. This run a simple test to validate response code of a rest endpoint.
- Place the tests in
test/wso2am/
directory. Update the testng.xml file to include your test class.
- Use following command to run the tests,
mvn test -Dendpoint=<ENDPOINT>
- Place the artifact source code in the repository. Update
buildArtifact.sh
file with correct paths to artifact code.