Service Tests
Service level testing encompasses any backend, service, api, and database level testing
These tests are compromised of: request, response, and verification
Since these follow the same template, we have opted for using csv file to write the tests
1 line 1 complete test
This allows us to add lots of tests to each csv file, covering large number of permutations
This falls in line with the pyramid of testing
Prerequisite
Download Service Test Latest Release
Unpack
Run Setup
Run autonomx -> setup.sh/.bat

Wait until the download of the maven dependencies are complete (~5 mins)
Load The Project In IDE or Runner
Or setup the Script Server to quickly run the tests
Run Sample Tests
Run service test suite at "automation -> suites -> serviceTests.xml"
Test results will be displayed at the end of the run


Create Tests
Create new tests by modifying the api properties file:
automation -> resources -> properties -> apiConfig.property
More Info API Config
Create CSV files at "apiTestData -> testCases" directory
Instructions: Rest API Tests
Last updated
Was this helpful?