This project is aimed at testing the Employee Management API endpoints using Rest Assured framework in Java. The API provides CRUD operations for managing employees, including creating, reading, updating, and deleting employee records.
- Clone the Repository:
git clone https://github.com/0kakarot0/EmployeeManagementAPITestingPractice.git
- Install Dependencies:
- Ensure you have Maven installed. If not, download and install it from Maven's official website.
- Navigate to the project directory and run:
mvn clean install
The project includes test cases for the following CRUD operations:
- GET Requests: Retrieve employees by ID.
- POST Request: Create a new employee record.
- PUT Request: Update an existing employee record.
- DELETE Request: Delete an existing employee record.
-
Run Tests: To execute the test cases, run the following command:
mvn test
-
View Test Reports: After running the tests, view the test reports located in the
target/surefire-reports
directory.
Contributions are welcome! If you have any suggestions, improvements, or new features to add, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.