Petstore - Data-driven tests

Monday, 30 November 2026 17:29:16
Total Iterations

3

Total Assertions

21

Total Failed Tests

0

Total Skipped Tests

0


File Information
Collection: Swagger Petstore - API tests
Specified Folders: Data-driven
Environment: Petstore - local
Collection Description
Functional API tests of the Swagger Petstore v2: pets, store, users, negative cases and a data-driven folder. Portfolio project by Amine Admane.
Timings and Data
Total run duration: 167ms
Total data received: 519B
Average response time: 7ms
Summary Item Total Failed
Requests 6 0
Prerequest Scripts 3 0
Test Scripts 12 0
Assertions 21 0
Skipped Tests 0 -



There are no failed tests





There are no skipped tests



3 Iterations available to view
Request Information
Request Method: POST
Request URL: http://localhost:8080/v2/pet
Response Information
Response Code: 200 - OK
Mean time per request: 21ms
Mean size per request: 120B

Test Pass Percentage
100 %
Request Headers
Header NameHeader 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
Request Body
{
          "id": 179605975664282,
          "name": "rex-available",
          "photoUrls": [
            "https://example.com/pet.png"
          ],
          "status": "available"
        }
Response Headers
Header NameHeader 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)
Response Body
{"id":179605975664282,"name":"rex-available","photoUrls":["https://example.com/pet.png"],"tags":[],"status":"available"}
Test Information
NamePassedFailedSkipped
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 Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:8080/v2/pet/179605975664282
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 57B

Test Pass Percentage
100 %
Request Headers
Header NameHeader 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
Response Headers
Header NameHeader 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)
Response Body
{"code":200,"type":"unknown","message":"179605975664282"}
Test Information
NamePassedFailedSkipped
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 Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:8080/v2/pet
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 117B

Test Pass Percentage
100 %
Request Headers
Header NameHeader 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
Request Body
{
          "id": 179605975671401,
          "name": "milo-pending",
          "photoUrls": [
            "https://example.com/pet.png"
          ],
          "status": "pending"
        }
Response Headers
Header NameHeader 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)
Response Body
{"id":179605975671401,"name":"milo-pending","photoUrls":["https://example.com/pet.png"],"tags":[],"status":"pending"}
Test Information
NamePassedFailedSkipped
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 Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:8080/v2/pet/179605975671401
Response Information
Response Code: 200 - OK
Mean time per request: 10ms
Mean size per request: 57B

Test Pass Percentage
100 %
Request Headers
Header NameHeader 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
Response Headers
Header NameHeader 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)
Response Body
{"code":200,"type":"unknown","message":"179605975671401"}
Test Information
NamePassedFailedSkipped
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 Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:8080/v2/pet
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 111B

Test Pass Percentage
100 %
Request Headers
Header NameHeader 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
Request Body
{
          "id": 179605975676376,
          "name": "luna-sold",
          "photoUrls": [
            "https://example.com/pet.png"
          ],
          "status": "sold"
        }
Response Headers
Header NameHeader 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)
Response Body
{"id":179605975676376,"name":"luna-sold","photoUrls":["https://example.com/pet.png"],"tags":[],"status":"sold"}
Test Information
NamePassedFailedSkipped
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 Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:8080/v2/pet/179605975676376
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 57B

Test Pass Percentage
100 %
Request Headers
Header NameHeader 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
Response Headers
Header NameHeader 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)
Response Body
{"code":200,"type":"unknown","message":"179605975676376"}
Test Information
NamePassedFailedSkipped
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 Failure
Test NameAssertion Error