Test written with reference from Swagger - https://eacp.energyaustralia.com.au/codingtest/api-docs/
The framework is developed with WebdriverIO NextGen Javascript Automation Framework along with mocha/Jasmine
Techstack - Nodejs, Javascript, Supertest, Chai-assertion, html reporting
Clone or download this project from Github.
npm install
Links to WebdriverIO - https://webdriver.io/docs/gettingstarted
"npx mocha ./test/specs/api-test.js" (or) "npx jasmine ./test/specs/api-test.js"
- Everytime a Get call is performed on the API endpoint, test data response is random/changes
- Many a times empty string response with 200 status is displayed
- Too many throttling status code 429 is observed
- Few test data have missing Keys across name and recordLabel
- Few test data have missing value for recordLabel
- Contract testing would be beneficial between consumer and provider