Newman Run Dashboard

Wednesday, 22 June 2022 17:11:59
Total Iterations

1

Total Assertions

25

Total Failed Tests

15

Total Skipped Tests

0


File Information
Collection: Simple Book(API Testing)
Environment: Testcase2
Timings and Data
Total run duration: 5.1s
Total data received: 937B
Average response time: 429ms
Summary Item Total Failed
Requests 10 0
Prerequest Scripts 0 0
Test Scripts 9 0
Assertions 25 15
Skipped Tests 0 -



Showing 15 Failures

Failed Test: Response time is less than 200ms

Assertion Error Message
expected 1245 to be below 200
Failed Test: Response time is less than 200ms

Assertion Error Message
expected 461 to be below 200
Failed Test: Response time is less than 200ms

Assertion Error Message
expected 276 to be below 200
Failed Test: Response time is less than 200ms

Assertion Error Message
expected 358 to be below 200
Failed Test: Response time is less than 200ms

Assertion Error Message
expected 273 to be below 200
Failed Test: Post Created

Assertion Error Message
expected response to have status code 201 but got 409
Failed Test: Response time is less than 200ms

Assertion Error Message
expected 448 to be below 200
Failed Test: Order has been created

Assertion Error Message
expected response to have status code 201 but got 401
Failed Test: Response time is less than 200ms

Assertion Error Message
expected 278 to be below 200
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 401
Failed Test: Response time is less than 200ms

Assertion Error Message
expected 362 to be below 200
Failed Test: Successful Get request

Assertion Error Message
expected 401 to be one of [ 200, 201 ]
Failed Test: Deleted

Assertion Error Message
expected response to have status code 404 but got 401
Failed Test: Response time is less than 200ms

Assertion Error Message
expected 273 to be below 200
Failed Test: Successful Get request

Assertion Error Message
expected 401 to be one of [ 200, 201 ]


There are no skipped tests



1 Iteration available to view
Iteration 1 selected
Request Information
Request Method: GET
Request URL: https://simple-books-api.glitch.me/
Response Information
Response Code: 200 - OK
Mean time per request: 1245ms
Mean size per request: 46B

Test Pass Percentage
67 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 93902739-a62c-4eaf-a535-5b894d26840c
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:11:58 GMT
Content-Type application/json; charset=utf-8
Content-Length 46
Connection keep-alive
x-powered-by Express
etag W/"2e-kh6L/Eo2ZbYePMROtHK7TuPdR1U"
Response Body
{
  "message": "Welcome to the Simple Books API."
}
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 0 1 0
Status code is 200 1 0 0
Successful Get request 1 0 0
Total210
Test Failure
Test NameAssertion Error
Response time is less than 200ms
expected 1245 to be below 200
Request Information
Request Method: GET
Request URL: https://simple-books-api.glitch.me/status
Response Information
Response Code: 200 - OK
Mean time per request: 461ms
Mean size per request: 15B

Test Pass Percentage
67 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 92db5818-b389-430a-b3a4-44c0d513c9a4
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:11:58 GMT
Content-Type application/json; charset=utf-8
Content-Length 15
Connection keep-alive
x-powered-by Express
etag W/"f-v/Y1JusChTxrQUzPtNAKycooOTA"
Response Body
{
  "status": "OK"
}
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 0 1 0
Status code is 200 1 0 0
Successful Get request 1 0 0
Total210
Test Failure
Test NameAssertion Error
Response time is less than 200ms
expected 461 to be below 200
Request Information
Request Method: GET
Request URL: https://simple-books-api.glitch.me/books
Response Information
Response Code: 200 - OK
Mean time per request: 276ms
Mean size per request: 417B

Test Pass Percentage
67 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 2c358f5d-04d7-48b2-afe7-f1b45a3db7cd
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:11:59 GMT
Content-Type application/json; charset=utf-8
Content-Length 417
Connection keep-alive
x-powered-by Express
etag W/"1a1-MfqhfTYtZO2sguD1mJq8Vf41WjU"
Response Body
[
  {
    "id": 1,
    "name": "The Russian",
    "type": "fiction",
    "available": true
  },
  {
    "id": 2,
    "name": "Just as I Am",
    "type": "non-fiction",
    "available": false
  },
  {
    "id": 3,
    "name": "The Vanishing Half",
    "type": "fiction",
    "available": true
  },
  {
    "id": 4,
    "name": "The Midnight Library",
    "type": "fiction",
    "available": true
  },
  {
    "id": 5,
    "name": "Untamed",
    "type": "non-fiction",
    "available": true
  },
  {
    "id": 6,
    "name": "Viscount Who Loved Me",
    "type": "fiction",
    "available": true
  }
]
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 0 1 0
Status code is 200 1 0 0
Successful Get request 1 0 0
Total210
Test Failure
Test NameAssertion Error
Response time is less than 200ms
expected 276 to be below 200
Request Information
Request Method: GET
Request URL: https://simple-books-api.glitch.me/books/?type=non-fiction
Response Information
Response Code: 200 - OK
Mean time per request: 358ms
Mean size per request: 135B

Test Pass Percentage
67 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5008ee79-9be5-4c27-a13c-816e2d9c6fcb
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:11:59 GMT
Content-Type application/json; charset=utf-8
Content-Length 135
Connection keep-alive
x-powered-by Express
etag W/"87-fbXCfgu0GEMnqcRoXq5fuhhKazw"
Response Body
[
  {
    "id": 2,
    "name": "Just as I Am",
    "type": "non-fiction",
    "available": false
  },
  {
    "id": 5,
    "name": "Untamed",
    "type": "non-fiction",
    "available": true
  }
]
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 0 1 0
Status code is 200 1 0 0
Successful Get request 1 0 0
Total210
Test Failure
Test NameAssertion Error
Response time is less than 200ms
expected 358 to be below 200
Request Information
Request Method: GET
Request URL: https://simple-books-api.glitch.me/books/3
Response Information
Response Code: 200 - OK
Mean time per request: 273ms
Mean size per request: 127B

Test Pass Percentage
67 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e8499d0c-2c58-4c91-9e4b-38056054a3e8
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:11:59 GMT
Content-Type application/json; charset=utf-8
Content-Length 127
Connection keep-alive
x-powered-by Express
etag W/"7f-XtuUUVAdwPfEZJfmMqGJV9px5xI"
Response Body
{
  "id": 3,
  "name": "The Vanishing Half",
  "author": "Brit Bennett",
  "type": "fiction",
  "price": 16.2,
  "current-stock": 987,
  "available": true
}
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 0 1 0
Status code is 200 1 0 0
Successful Get request 1 0 0
Total210
Test Failure
Test NameAssertion Error
Response time is less than 200ms
expected 273 to be below 200
Request Information
Request Method: POST
Request URL: https://simple-books-api.glitch.me/api-clients
Response Information
Response Code: 409 - Conflict
Mean time per request: 448ms
Mean size per request: 65B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 5c99cba1-2e92-4ebb-925e-13d04d2195f3
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 69
Request Body
{
  "clientName": "Reza",
  "clientEmail": "greza@example.com"
}
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:12:00 GMT
Content-Type application/json; charset=utf-8
Content-Length 65
Connection keep-alive
x-powered-by Express
etag W/"41-rjAEsJfLskSzU5wzBOncJcKHOOY"
Response Body
{
  "error": "API client already registered. Try a different email."
}
Test Information
NamePassedFailedSkipped
Post Created 0 1 0
Response time is less than 200ms 0 1 0
Total020
Test Failures
Test NameAssertion Error
Post Created
expected response to have status code 201 but got 409
Response time is less than 200ms
expected 448 to be below 200
Request Information
Request Method: POST
Request URL: https://simple-books-api.glitch.me/orders
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 278ms
Mean size per request: 33B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization Bearer null
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token e2f97a1f-94d1-4a8d-9a50-4381b482f918
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 47
Request Body
{
  "bookId": 1,
  "customerName": "Rakib"
}
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:12:00 GMT
Content-Type application/json; charset=utf-8
Content-Length 33
Connection keep-alive
x-powered-by Express
etag W/"21-bG6N9MGZ9+XoO/KuGDSYhW5FJyc"
Response Body
{
  "error": "Invalid bearer token."
}
Test Information
NamePassedFailedSkipped
Order has been created 0 1 0
Response time is less than 200ms 0 1 0
Total020
Test Failures
Test NameAssertion Error
Order has been created
expected response to have status code 201 but got 401
Response time is less than 200ms
expected 278 to be below 200
Request Information
Request Method: GET
Request URL: https://simple-books-api.glitch.me/orders/null
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 362ms
Mean size per request: 33B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization Bearer null
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 7a89ff11-39ec-4599-9d81-fee8fc5cabc0
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:12:01 GMT
Content-Type application/json; charset=utf-8
Content-Length 33
Connection keep-alive
x-powered-by Express
etag W/"21-bG6N9MGZ9+XoO/KuGDSYhW5FJyc"
Response Body
{
  "error": "Invalid bearer token."
}
Test Information
NamePassedFailedSkipped
Response time is less than 200ms 0 1 0
Status code is 200 0 1 0
Successful Get request 0 1 0
Total030
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 401
Response time is less than 200ms
expected 362 to be below 200
Successful Get request
expected 401 to be one of [ 200, 201 ]
Request Information
Request Method: PATCH
Request URL: https://simple-books-api.glitch.me/orders/null
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 319ms
Mean size per request: 33B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
oid null
Authorization Bearer null
Content-Type application/json
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 0de56e4f-dbf0-45c4-8c9e-ccf731b28c65
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 110
Request Body
{
  "customerName": "Rakibul Hussain",
  "createdBy": "Mahmudur Rahman",
  "quantity": 120
}
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:12:01 GMT
Content-Type application/json; charset=utf-8
Content-Length 33
Connection keep-alive
x-powered-by Express
etag W/"21-bG6N9MGZ9+XoO/KuGDSYhW5FJyc"
Response Body
{
  "error": "Invalid bearer token."
}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: https://simple-books-api.glitch.me/orders/null
Response Information
Response Code: 401 - Unauthorized
Mean time per request: 273ms
Mean size per request: 33B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization Bearer null
User-Agent PostmanRuntime/7.29.0
Accept */*
Cache-Control no-cache
Postman-Token 58a4d217-397c-4dde-a725-12d40c5121f2
Host simple-books-api.glitch.me
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Wed, 22 Jun 2022 11:12:01 GMT
Content-Type application/json; charset=utf-8
Content-Length 33
Connection keep-alive
x-powered-by Express
etag W/"21-bG6N9MGZ9+XoO/KuGDSYhW5FJyc"
Response Body
{
  "error": "Invalid bearer token."
}
Test Information
NamePassedFailedSkipped
Deleted 0 1 0
Response time is less than 200ms 0 1 0
Successful Get request 0 1 0
Total030
Test Failures
Test NameAssertion Error
Deleted
expected response to have status code 404 but got 401
Response time is less than 200ms
expected 273 to be below 200
Successful Get request
expected 401 to be one of [ 200, 201 ]