Functional API tests of the Swagger Petstore v2: pets, store, users, negative cases and a data-driven folder. Portfolio project by Amine Admane.
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 6 | 0 |
| Prerequest Scripts | 3 | 0 |
| Test Scripts | 12 | 0 |
| Assertions | 21 | 0 |
| Skipped Tests | 0 | - |
| Header Name | Header Value |
|---|---|
| Accept | application/json |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Cache-Control | no-cache |
| Postman-Token | 574cd101-3052-4bc6-93bf-44f09da63641 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 135 |
{
"id": 179605975664282,
"name": "rex-available",
"photoUrls": [
"https://example.com/pet.png"
],
"status": "available"
}
| Header Name | Header Value |
|---|---|
| Date | Mon, 30 Nov 2026 17:29:16 GMT |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, DELETE, PUT |
| Access-Control-Allow-Headers | Content-Type, api_key, Authorization |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Server | Jetty(9.4.58.v20250814) |
{"id":179605975664282,"name":"rex-available","photoUrls":["https://example.com/pet.png"],"tags":[],"status":"available"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Response time is under 2 s | 1 | 0 | 0 |
| Response is JSON (when there is a body) | 1 | 0 | 0 |
| Status is 200 | 1 | 0 | 0 |
| Pet created with status available | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Accept | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Cache-Control | no-cache |
| Postman-Token | a323df57-77d0-4196-bece-64af3ae65cb5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Mon, 30 Nov 2026 17:29:16 GMT |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, DELETE, PUT |
| Access-Control-Allow-Headers | Content-Type, api_key, Authorization |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Server | Jetty(9.4.58.v20250814) |
{"code":200,"type":"unknown","message":"179605975664282"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Response time is under 2 s | 1 | 0 | 0 |
| Response is JSON (when there is a body) | 1 | 0 | 0 |
| Status is 200 | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Accept | application/json |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Cache-Control | no-cache |
| Postman-Token | f50be195-9f13-41bc-bf3d-48f38f5deb4d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 132 |
{
"id": 179605975671401,
"name": "milo-pending",
"photoUrls": [
"https://example.com/pet.png"
],
"status": "pending"
}
| Header Name | Header Value |
|---|---|
| Date | Mon, 30 Nov 2026 17:29:16 GMT |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, DELETE, PUT |
| Access-Control-Allow-Headers | Content-Type, api_key, Authorization |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Server | Jetty(9.4.58.v20250814) |
{"id":179605975671401,"name":"milo-pending","photoUrls":["https://example.com/pet.png"],"tags":[],"status":"pending"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Response time is under 2 s | 1 | 0 | 0 |
| Response is JSON (when there is a body) | 1 | 0 | 0 |
| Status is 200 | 1 | 0 | 0 |
| Pet created with status pending | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Accept | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Cache-Control | no-cache |
| Postman-Token | 6e41099b-2a73-4290-8f3e-2540b62b4542 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Mon, 30 Nov 2026 17:29:16 GMT |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, DELETE, PUT |
| Access-Control-Allow-Headers | Content-Type, api_key, Authorization |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Server | Jetty(9.4.58.v20250814) |
{"code":200,"type":"unknown","message":"179605975671401"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Response time is under 2 s | 1 | 0 | 0 |
| Response is JSON (when there is a body) | 1 | 0 | 0 |
| Status is 200 | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Accept | application/json |
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Cache-Control | no-cache |
| Postman-Token | 157b6824-ea43-49d5-9dbf-ca86dda46cb8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 126 |
{
"id": 179605975676376,
"name": "luna-sold",
"photoUrls": [
"https://example.com/pet.png"
],
"status": "sold"
}
| Header Name | Header Value |
|---|---|
| Date | Mon, 30 Nov 2026 17:29:16 GMT |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, DELETE, PUT |
| Access-Control-Allow-Headers | Content-Type, api_key, Authorization |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Server | Jetty(9.4.58.v20250814) |
{"id":179605975676376,"name":"luna-sold","photoUrls":["https://example.com/pet.png"],"tags":[],"status":"sold"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Response time is under 2 s | 1 | 0 | 0 |
| Response is JSON (when there is a body) | 1 | 0 | 0 |
| Status is 200 | 1 | 0 | 0 |
| Pet created with status sold | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Accept | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Cache-Control | no-cache |
| Postman-Token | 028f6caf-9844-4074-9058-8b2fc2cc2c53 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Mon, 30 Nov 2026 17:29:16 GMT |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, DELETE, PUT |
| Access-Control-Allow-Headers | Content-Type, api_key, Authorization |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Server | Jetty(9.4.58.v20250814) |
{"code":200,"type":"unknown","message":"179605975676376"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Response time is under 2 s | 1 | 0 | 0 |
| Response is JSON (when there is a body) | 1 | 0 | 0 |
| Status is 200 | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|