Pre-requisites:
- Java8+ needs to be installed
- Set JAVA_HOME variable in environment variables
- Instal maven and add the path to "Path" variable in environment variables
- Install Node.js using the link https://nodejs.org/en
- Open command prompt and Install allure command line using the command
npm install -g allure-commandline --save-dev
Steps to execute API tests:
- Run the batch file called as
run_tests.bat
to run all the tests - Run the batch file called as
generate_report.bat
and an allure report will get generated and open in the browser
Feel free to get in touch if you have any trouble running the tests.
Steps to execute Load tests:
- Install jmeter
- Open Jmeter and open the file GitHubAPILoadTest.jmx
- Run all the tests
- Reports will be generated in the listeners