DummyJSON known defects (expected to fail)

Monday, 19 October 2026 08:01:45
Total Iterations

1

Total Assertions

50

Total Failed Tests

13

Total Skipped Tests

0


File Information
Collection: DummyJSON API tests
Specified Folders: 99 Known defects
Environment: DummyJSON
Collection Description
Postman + Newman tests for the DummyJSON e-commerce API: auth (JWT login, current user, refresh) and products. Built from `context/test-case-matrix.md`; each request's description names its Case ID and rule. Run with `scripts/run-newman.sh main|data|defects`. Credentials are passed at run time and never stored here.
Timings and Data
Total run duration: 3.1s
Total data received: 8.1KB
Average response time: 85ms
Summary Item Total Failed
Requests 15 0
Prerequest Scripts 16 0
Test Scripts 28 0
Assertions 50 13
Skipped Tests 0 -



Showing 13 Failures

Failed Test: no password, SSN, EIN, bank or crypto data in the response

Assertion Error Message
sensitive fields returned: expected [ 'password', 'ssn', 'ein', …(2) ] to deeply equal []
Failed Test: status is 401

Assertion Error Message
expected response to have status code 401 but got 200
Failed Test: status is 403

Assertion Error Message
expected response to have status code 403 but got 200
Failed Test: status is 403

Assertion Error Message
expected response to have status code 403 but got 200
Failed Test: status is 401

Assertion Error Message
expected response to have status code 401 but got 200
Failed Test: status is 401

Assertion Error Message
expected response to have status code 401 but got 500
Failed Test: status is 401

Assertion Error Message
expected response to have status code 401 but got 500
Failed Test: status is 401

Assertion Error Message
expected response to have status code 401 but got 500
Failed Test: status is 400

Assertion Error Message
expected response to have status code 400 but got 500
Failed Test: status is 400

Assertion Error Message
expected response to have status code 400 but got 500
Failed Test: status is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: status is 400

Assertion Error Message
expected response to have status code 400 but got 201
Failed Test: the response has the full Product shape, like GET

Assertion Error Message
expected data to satisfy schema but found following errors: 
data should have required property 'tags', data should have required property 'sku', data should have required property 'weight', data should have required property 'dimensions', data should have required property 'warrantyInformation', data should have required property 'shippingInformation', data should have required property 'availabilityStatus', data should have required property 'reviews', data should have required property 'returnPolicy', data should have required property 'minimumOrderQuantity', data should have required property 'meta'


There are no skipped tests



1 Iteration available to view
Request Description
**TC-setup-defects-login** · RULE-auth-login-returns-token-pair
Request Information
Request Method: POST
Request URL: https://dummyjson.com/auth/login
Response Information
Response Code: 200 - OK
Mean time per request: 163ms
Mean size per request: 930B

Test Pass Percentage
100 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
status is 200 1 0 0
login body matches the schema 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Description
**TC-get-auth-me-contract-schema-no-sensitive-fields** · RULE-auth-me-hides-sensitive-fields (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: GET
Request URL: https://dummyjson.com/auth/me
Response Information
Response Code: 200 - OK
Mean time per request: 103ms
Mean size per request: 1.39KB

Test Pass Percentage
75 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
status is 200 1 0 0
no password, SSN, EIN, bank or crypto data in the response 0 1 0
Total 3 1 0
Test Failure
Test NameAssertion Error
no password, SSN, EIN, bank or crypto data in the response
sensitive fields returned: expected [ 'password', 'ssn', 'ein', …(2) ] to deeply equal []
Request Description
**TC-get-auth-me-auth-authz-refresh-token-as-access** · RULE-auth-token-types-not-interchangeable (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: GET
Request URL: https://dummyjson.com/auth/me
Response Information
Response Code: 200 - OK
Mean time per request: 163ms
Mean size per request: 1.39KB

Test Pass Percentage
67 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
status is 401 0 1 0
Total 2 1 0
Test Failure
Test NameAssertion Error
status is 401
expected response to have status code 401 but got 200
Request Description
**TC-post-auth-refresh-auth-authz-access-token-as-refresh** · RULE-auth-token-types-not-interchangeable (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: POST
Request URL: https://dummyjson.com/auth/refresh
Response Information
Response Code: 200 - OK
Mean time per request: 74ms
Mean size per request: 756B

Test Pass Percentage
67 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
status is 403 0 1 0
Total 2 1 0
Test Failure
Test NameAssertion Error
status is 403
expected response to have status code 403 but got 200
Request Description
**TC-post-auth-refresh-auth-authz-used-token-reused** · RULE-auth-refresh-token-single-use (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: POST
Request URL: https://dummyjson.com/auth/refresh
Response Information
Response Code: 200 - OK
Mean time per request: 47ms
Mean size per request: 756B

Test Pass Percentage
67 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 2 0 0
[shared] body is JSON 2 0 0
status is 403 0 2 0
Total 4 2 0
Test Failures
Test NameAssertion Error
status is 403
expected response to have status code 403 but got 200
Request Description
**TC-get-auth-me-auth-authz-missing-bearer-prefix** · RULE-auth-invalid-token-rejected (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: GET
Request URL: https://dummyjson.com/auth/me
Response Information
Response Code: 200 - OK
Mean time per request: 88ms
Mean size per request: 1.39KB

Test Pass Percentage
67 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
status is 401 0 1 0
Total 2 1 0
Test Failure
Test NameAssertion Error
status is 401
expected response to have status code 401 but got 200
Request Description
**TC-get-auth-me-auth-authz-malformed-token** · RULE-auth-invalid-token-rejected (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: GET
Request URL: https://dummyjson.com/auth/me
Response Information
Response Code: 500 - Internal Server Error
Mean time per request: 121ms
Mean size per request: 27B

Test Pass Percentage
75 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
[shared] error body is exactly {"message": string} 1 0 0
status is 401 0 1 0
Total 3 1 0
Test Failure
Test NameAssertion Error
status is 401
expected response to have status code 401 but got 500
Request Description
**TC-get-auth-me-auth-authz-forged-signature** · RULE-auth-invalid-token-rejected (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: GET
Request URL: https://dummyjson.com/auth/me
Response Information
Response Code: 500 - Internal Server Error
Mean time per request: 58ms
Mean size per request: 31B

Test Pass Percentage
75 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
[shared] error body is exactly {"message": string} 1 0 0
status is 401 0 1 0
Total 3 1 0
Test Failure
Test NameAssertion Error
status is 401
expected response to have status code 401 but got 500
Request Description
**TC-get-auth-me-auth-authz-wrong-scheme** · RULE-auth-invalid-token-rejected (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: GET
Request URL: https://dummyjson.com/auth/me
Response Information
Response Code: 500 - Internal Server Error
Mean time per request: 95ms
Mean size per request: 27B

Test Pass Percentage
75 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
[shared] error body is exactly {"message": string} 1 0 0
status is 401 0 1 0
Total 3 1 0
Test Failure
Test NameAssertion Error
status is 401
expected response to have status code 401 but got 500
Request Description
**TC-post-auth-login-boundary-expires-above-max** · RULE-auth-expiry-configurable Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: POST
Request URL: https://dummyjson.com/auth/login
Response Information
Response Code: 500 - Internal Server Error
Mean time per request: 70ms
Mean size per request: 67B

Test Pass Percentage
75 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
[shared] error body is exactly {"message": string} 1 0 0
status is 400 0 1 0
Total 3 1 0
Test Failure
Test NameAssertion Error
status is 400
expected response to have status code 400 but got 500
Request Description
**TC-post-auth-login-boundary-expires-negative** · RULE-auth-expiry-configurable Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: POST
Request URL: https://dummyjson.com/auth/login
Response Information
Response Code: 500 - Internal Server Error
Mean time per request: 48ms
Mean size per request: 67B

Test Pass Percentage
75 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
[shared] error body is exactly {"message": string} 1 0 0
status is 400 0 1 0
Total 3 1 0
Test Failure
Test NameAssertion Error
status is 400
expected response to have status code 400 but got 500
Request Description
**TC-post-products-add-negative-empty-body** · RULE-products-add-validates-body (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: POST
Request URL: https://dummyjson.com/products/add
Response Information
Response Code: 201 - Created
Mean time per request: 64ms
Mean size per request: 10B

Test Pass Percentage
67 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
status is 400 0 1 0
Total 2 1 0
Test Failure
Test NameAssertion Error
status is 400
expected response to have status code 400 but got 201
Request Description
**TC-post-products-add-negative-wrong-price-type** · RULE-products-add-validates-body (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: POST
Request URL: https://dummyjson.com/products/add
Response Information
Response Code: 201 - Created
Mean time per request: 83ms
Mean size per request: 46B

Test Pass Percentage
67 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
status is 400 0 1 0
Total 2 1 0
Test Failure
Test NameAssertion Error
status is 400
expected response to have status code 400 but got 201
Request Description
**TC-put-products-id-contract-schema-update-shape** · RULE-products-update-response-shape (inferred) Asserts the correct behaviour; expected to fail until DummyJSON fixes it. Not part of the gating run.
Request Information
Request Method: PUT
Request URL: https://dummyjson.com/products/2
Response Information
Response Code: 200 - OK
Mean time per request: 55ms
Mean size per request: 548B

Test Pass Percentage
75 %
Test Information
NamePassedFailedSkipped
[shared] responds within 3000 ms 1 0 0
[shared] body is JSON 1 0 0
status is 200 1 0 0
the response has the full Product shape, like GET 0 1 0
Total 3 1 0
Test Failure
Test NameAssertion Error
the response has the full Product shape, like GET
expected data to satisfy schema but found following errors: 
        data should have required property 'tags', data should have required property 'sku', data should have required property 'weight', data should have required property 'dimensions', data should have required property 'warrantyInformation', data should have required property 'shippingInformation', data should have required property 'availabilityStatus', data should have required property 'reviews', data should have required property 'returnPolicy', data should have required property 'minimumOrderQuantity', data should have required property 'meta'