https://github.com/youssefm2000/nahdiapitask
Automate Api Posts API
https://github.com/youssefm2000/nahdiapitask
cucumber jackson java maven-plugin pojo restassured-framework
Last synced: about 2 months ago
JSON representation
Automate Api Posts API
- Host: GitHub
- URL: https://github.com/youssefm2000/nahdiapitask
- Owner: youssefm2000
- Created: 2025-05-28T12:38:14.000Z (about 1 year ago)
- Default Branch: PostAPI
- Last Pushed: 2025-06-17T11:15:06.000Z (12 months ago)
- Last Synced: 2025-06-28T01:34:57.226Z (12 months ago)
- Topics: cucumber, jackson, java, maven-plugin, pojo, restassured-framework
- Language: Java
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
API Automation Testing With Cucumber Framework
## π Features
- ### ποΈ Covered Test case in this project :
#### β
Test Case 1 : Create a new post
Given the API is available
When I create a post with title "foo", body "bar" and userId 1
Then the response status should be 201
And the response should contain title "foo" and body "bar"
#### β
Test Case 2 : Get all posts
Given the API is available
When I retrieve all posts
Then the response status should be 200
And the total number of posts should be 100
#### β
Test Case 3 : Get post with ID 20
Given the API is available
When I retrieve the post with ID 20
Then the response status should be 200
And the response should contain ID 20
#### β
Test Case 4 : Get non-existent post
Given the API is available When I retrieve the post with ID 9999 Then the response status should
## π Tech Stack
- Java
- Cucumber
- Rest Assured
- Maven
- JUnit
- POJO
- Jackson
## π Project Structure

### ποΈ Project Design:
* Page Object Model (POM) design pattern
### π§ Requirements
* Eclipse / IntelliJ IDEA (for code development)
### π Allure Report:

### π Cucumber Report:

### π For Watching Running Test Cases:
https://youtu.be/FvKjAGaXQBQ