This project focuses on API testing for the QTrip travel website. The goal of this project was to perform manual and automated End-to-End testing of the APIs associated with various modules of QTrip.
- Conducted manual API testing using Postman for different web pages of QTrip.
- Automated API tests using the Rest Assured Framework in Java.
- Integrated the API tests with UI Tests to ensure a complete testing process.
- Designed a TestNG project to execute automated testing with the option to selectively run tests using an XML file.
- Analyzed the QTrip application and its API Documentation.
- Designed API tests covering different functional modules of the QTrip application.
- Executed manual API tests using Postman.
- Test Case Design
- Test Data Enumeration
- API Testing
- Postman
- Rest Assured
- Java
- TestNG
- Postman: Used for manual API testing.
- Rest Assured: Java-based library for automating API tests.
- TestNG: Used for managing test execution and grouping tests.
- Maven/Gradle: (Depending on your project setup) For dependency management and running tests.
- Java: Programming language for writing automated tests.
- API Tests: Test scripts designed to validate the API responses, status codes, and data returned from various endpoints of the QTrip application.
- TestNG Configurations: Includes TestNG XML files for organizing and selectively running test suites.
- Manual Test Cases: API tests executed manually using Postman are documented for reference and comparison against automated results.
- Clone the repository.
- Import the project into your IDE (e.g., IntelliJ IDEA, Eclipse).
- Ensure Java, Rest Assured, TestNG, and other dependencies are correctly set up.
- Run the TestNG tests or manually test APIs via Postman collections.
mvn test
or
gradle test
For manual testing, import the provided Postman collection into your Postman application and execute the API requests.
After the test execution, the project generates detailed test reports that outline the status and results of the tests, providing insights into the success/failure of each API endpoint.