Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daryaandreyuk/petstoreapitesting

API Testing portfolio project
https://github.com/daryaandreyuk/petstoreapitesting

api gradle restassured-framework testng-framework

Last synced: 28 days ago
JSON representation

API Testing portfolio project

Awesome Lists containing this project

README

        

# Pet Store API Automation Testing

## Portfolio project on automation of test scripts using API tests for [Swagger Pet Store](https://petstore.swagger.io/#/)

## Contents:

- [Technology stack used](https://github.com/DaryaAndreyuk/PetStoreAPITesting?tab=readme-ov-file#technology-stack-used)
- [Running the Tests from the terminal](https://github.com/DaryaAndreyuk/PetStoreAPITesting?tab=readme-ov-file#running-the-tests)
- [Viewing Allure Reports](https://github.com/DaryaAndreyuk/PetStoreAPITesting?tab=readme-ov-file#running-the-tests)
- [Build with Jenkins](https://github.com/DaryaAndreyuk/PetStoreAPITesting?tab=readme-ov-file#build-with-jenkins)

## Technology stack used


Intellij_IDEA
Java
Allure_Report
Gradle
Jenkins
GitHub
RestAssured
TestNG

In this project, automated tests are written in `Java 21` using the `Rest-Assured` framework for API testing.

- `Gradle` is used as the build tool.
- `TestNG` is the testing framework.
- `Lombok` is utilized to simplify model creation in the API tests.
- `Allure` Rest-Assured listener is applied for generating test reports.

## Running the Tests

To execute the tests, run the following command in the CLI:

`gradlew test`

## Viewing Allure Reports

After running the tests, you can view the Allure reports by executing:

`gradlew allureServe`

## Example of Allure Report

AllureReportExample

## Report with test results

AllureReportExample1

## Build with Jenkins

JenkinsScreen

## See Allure Report from Jenkins

JenkinsAllureScreen

If you have any comments or suggestions, please feel free to contact me
at: [[email protected]]([email protected])