Skip to content

Test Automation | API Testing | Java | RestAssured | Cucumber | JUnit

Notifications You must be signed in to change notification settings

githsem/AutomationExercise_API_Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation Exercise API Testing

GitHub last commit GitHub GitHub top language

This project is a Java-based API testing exercise inspired by API Test Cases from automationexercise.com. It utilizes the following tools: RestAssured, Cucumber, and JUnit for automated testing and reporting.

Table of Contents

Overview

The main objective of this project is to perform API testing. It is designed to automate the testing of various API endpoints, ensuring that they meet the expected functionality and behavior.

Prerequisites

Before running the project, make sure you have the following prerequisites installed on your system:

  • Java Development Kit (JDK)
  • Maven
  • IDE (Eclipse, IntelliJ IDEA, etc.)

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/githsem/AutomationExercise_API_Testing
    
  2. Open the project in your preferred IDE.

  3. Set up the required dependencies using Maven.

  4. Update the test configurations, such as the API endpoints and request parameters, in the appropriate test files.

  5. Run the tests by using JUnit or the test runner provided by your IDE.

Usage

You can use this project as a template to create your own API testing framework. Customize the test cases and configurations to match your specific requirements. Here are some key points to get started:

Modify the test cases and test data according to your API endpoints. Organize your test scenarios using Cucumber feature files. Enhance and extend the project by adding additional test cases and utilities as needed.

Reports

After running the tests, you can find the test execution reports in the designated folder. These reports provide insights into the test results, including pass/fail status and any errors encountered during testing.

License

This project is licensed under the MIT License.

Feel free to contribute, report issues, or suggest improvements. Happy testing!