Newman Run Dashboard

Wednesday, 03 July 2024 09:34:45
Total Iterations

2

Total Assertions

208

Total Failed Tests

0

Total Skipped Tests

0


File Information
Collection: Bookshelf API Test
Environment: Bookshelf API Test
Timings and Data
Total run duration: 5.1s
Total data received: 7.98KB
Average response time: 6ms
Summary Item Total Failed
Requests 64 0
Prerequest Scripts 52 0
Test Scripts 96 0
Assertions 208 0
Skipped Tests 0 -



There are no failed tests





There are no skipped tests



2 Iterations available to view
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 50ms
Mean size per request: 95B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token dc44d1b5-4624-4585-a027-930deafca20b
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 225
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 25,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"J6IFLWYwAfYCYCGC"}}
Test Information
NamePassedFailedSkipped
status code should be 201 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
response body data should contain bookId 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 8ms
Mean size per request: 95B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token f875c936-ce1f-45f8-b926-19359e2b0c7e
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 226
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 100,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"Ad5YBhGNRQNxoSeW"}}
Test Information
NamePassedFailedSkipped
status code should be 201 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
response body data should contain bookId 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 400 - Bad Request
Mean time per request: 7ms
Mean size per request: 73B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token d7091f6b-c5aa-4865-92ec-aea30b4ac6d5
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 202
Request Body
{
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 25,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 73
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal menambahkan buku. Mohon isi nama buku"}
Test Information
NamePassedFailedSkipped
status code should be 400 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 101B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token abede3d8-6ee2-4254-8fcc-c84bf212d177
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 224
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 80,
            "readPage": 90,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 101
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal menambahkan buku. readPage tidak boleh lebih besar dari pageCount"}
Test Information
NamePassedFailedSkipped
status code should be 400 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 189B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token f0ad4145-a76d-4b31-b105-b600db92209a
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 189
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"J6IFLWYwAfYCYCGC","name":"Buku A","publisher":"Dicoding Indonesia"},{"id":"Ad5YBhGNRQNxoSeW","name":"Buku A","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains two items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/J6IFLWYwAfYCYCGC
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 324B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 67a37c16-c947-47ad-ac25-b91398af18ed
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 324
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"book":{"id":"J6IFLWYwAfYCYCGC","name":"Buku A","year":2010,"author":"John Doe","summary":"Lorem ipsum dolor sit amet","publisher":"Dicoding Indonesia","pageCount":100,"readPage":25,"finished":false,"reading":false,"insertedAt":"2024-07-03T02:34:40.005Z","updatedAt":"2024-07-03T02:34:40.005Z"}}}
Test Information
NamePassedFailedSkipped
response code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should an object 1 0 0
response body object should contain correct property and value 1 0 0
response body data object should contain book object 1 0 0
book object should contain correct property and value 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/Ad5YBhGNRQNxoSeW
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 324B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 05bc5fe6-0a13-4104-a608-eb18425101a3
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 324
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"book":{"id":"Ad5YBhGNRQNxoSeW","name":"Buku A","year":2010,"author":"John Doe","summary":"Lorem ipsum dolor sit amet","publisher":"Dicoding Indonesia","pageCount":100,"readPage":100,"finished":true,"reading":false,"insertedAt":"2024-07-03T02:34:40.145Z","updatedAt":"2024-07-03T02:34:40.145Z"}}}
Test Information
NamePassedFailedSkipped
response code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should an object 1 0 0
response body object should contain correct property and value 1 0 0
response body data object should contain book object 1 0 0
book object should contain correct property and value 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/xxxxx
Response Information
Response Code: 404 - Not Found
Mean time per request: 5ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 136b5840-9c49-44e5-8ad7-af24fdc5fddc
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 50
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Buku tidak ditemukan"}
Test Information
NamePassedFailedSkipped
response code should be 404 1 0 0
response header Content-Type should be application/json 1 0 0
response body should an object 1 0 0
response body object should contain correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/J6IFLWYwAfYCYCGC
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 318B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 74181167-60d5-4fa7-87f0-7555d5d43a68
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 318
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:40 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"book":{"id":"J6IFLWYwAfYCYCGC","name":"Buku A Revisi","year":2011,"author":"Jane Doe","summary":"Lorem Dolor sit Ametttt","publisher":"Dicoding","pageCount":200,"readPage":26,"finished":false,"reading":false,"insertedAt":"2024-07-03T02:34:40.005Z","updatedAt":"2024-07-03T02:34:40.944Z"}}}
Test Information
NamePassedFailedSkipped
status code should be 200 2 0 0
response header Content-Type should be application/json 2 0 0
response body should be an object 2 0 0
response body should have correct property and value 2 0 0
when get detail books 2 0 0
book object should contain updated values 2 0 0
Total 12 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:9000/books/J6IFLWYwAfYCYCGC
Response Information
Response Code: 400 - Bad Request
Mean time per request: 6ms
Mean size per request: 73B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 783d9ed6-6459-4fcc-ab97-4b6b1906b9d6
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 189
Request Body
{
            "year": 2011,
            "author": "Jane Doe",
            "summary": "Lorem Dolor sit Ametttt",
            "publisher": "Dicoding",
            "pageCount": 200,
            "readPage": 26,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 73
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal memperbarui buku. Mohon isi nama buku"}
Test Information
NamePassedFailedSkipped
status code should be 400 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:9000/books/J6IFLWYwAfYCYCGC
Response Information
Response Code: 400 - Bad Request
Mean time per request: 6ms
Mean size per request: 101B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 0a350a3a-9ed0-49c3-83ae-41b66591f70e
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 218
Request Body
{
            "name": "Buku A Revisi",
            "year": 2011,
            "author": "Jane Doe",
            "summary": "Lorem Dolor sit Ametttt",
            "publisher": "Dicoding",
            "pageCount": 80,
            "readPage": 90,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 101
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal memperbarui buku. readPage tidak boleh lebih besar dari pageCount"}
Test Information
NamePassedFailedSkipped
status code should be 400 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:9000/books/xxxxx
Response Information
Response Code: 404 - Not Found
Mean time per request: 6ms
Mean size per request: 72B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 89732ae1-a5a4-483b-98e4-ee1578419480
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 219
Request Body
{
            "name": "Buku A Revisi",
            "year": 2011,
            "author": "Jane Doe",
            "summary": "Lorem Dolor sit Ametttt",
            "publisher": "Dicoding",
            "pageCount": 200,
            "readPage": 26,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 72
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal memperbarui buku. Id tidak ditemukan"}
Test Information
NamePassedFailedSkipped
status code should be 404 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/J6IFLWYwAfYCYCGC
Response Information
Response Code: 404 - Not Found
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 8c1a0770-384d-4f9d-890e-e6ae8548d753
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 50
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Buku tidak ditemukan"}
Test Information
NamePassedFailedSkipped
status code should be 200 2 0 0
response header Content-Type should be application/json 2 0 0
response body should be an object 2 0 0
response body should have correct property and value 2 0 0
when get detail books 2 0 0
The book should be not found 2 0 0
Total 12 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/Ad5YBhGNRQNxoSeW
Response Information
Response Code: 404 - Not Found
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token ff792426-bd74-4854-b34e-151ba7b90e85
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 50
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Buku tidak ditemukan"}
Test Information
NamePassedFailedSkipped
status code should be 200 2 0 0
response header Content-Type should be application/json 2 0 0
response body should be an object 2 0 0
response body should have correct property and value 2 0 0
when get detail books 2 0 0
The book should be not found 2 0 0
Total 12 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:9000/books/xxxxx
Response Information
Response Code: 404 - Not Found
Mean time per request: 5ms
Mean size per request: 68B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 48ab744b-e51c-42e5-9a55-dd275a61886f
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 68
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Buku gagal dihapus. Id tidak ditemukan"}
Test Information
NamePassedFailedSkipped
status code should be 404 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 95B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 6ff864ec-b407-4612-b50e-316c755d207b
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 225
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 100,
            "reading": true
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"iYhT3yS1ASGNb49B"}}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 95B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token ab720dee-30b5-4365-ad7f-47fd4a9a1774
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 232
Request Body
{
            "name": "Kelas Dicoding",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 99,
            "reading": true
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"qJKlsuO0Wr_N-wEJ"}}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 95B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 704e54d4-5356-4996-80aa-0339c0a81a98
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 231
Request Body
{
            "name": "dicoding Jobs",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 0,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:41 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"AeZk4whHDntD-WbP"}}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 95B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 2aadd80c-ca36-40c2-8d03-e9f1131666b7
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 224
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 0,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"itd6s11CyDcQHMbR"}}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://localhost:9000/books?reading=1
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 197B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 2a37af9d-3c65-40dc-8e8d-4ecaeade4278
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 197
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"iYhT3yS1ASGNb49B","name":"Buku A","publisher":"Dicoding Indonesia"},{"id":"qJKlsuO0Wr_N-wEJ","name":"Kelas Dicoding","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains 2 items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books?reading=0
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 196B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 1a919f24-8796-45a0-a652-b686ccecba4b
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 196
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"AeZk4whHDntD-WbP","name":"dicoding Jobs","publisher":"Dicoding Indonesia"},{"id":"itd6s11CyDcQHMbR","name":"Buku A","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains at 2 items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books?finished=1
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 114B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token c532e560-698b-44a7-941f-7200e4f55d1a
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 114
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"iYhT3yS1ASGNb49B","name":"Buku A","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains 1 items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books?finished=0
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 279B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token e93c2444-2892-4c2c-8d80-4c399e75f838
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 279
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"qJKlsuO0Wr_N-wEJ","name":"Kelas Dicoding","publisher":"Dicoding Indonesia"},{"id":"AeZk4whHDntD-WbP","name":"dicoding Jobs","publisher":"Dicoding Indonesia"},{"id":"itd6s11CyDcQHMbR","name":"Buku A","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains 3 items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:9000/books/itd6s11CyDcQHMbR
Response Information
Response Code: 200 - OK
Mean time per request: 26ms
Mean size per request: 54B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 30e177e8-b288-463f-a8d0-b7118d98e516
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 54
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil dihapus"}
Test Information
NamePassedFailedSkipped
status code should be 200 6 0 0
response header Content-Type should be application/json 6 0 0
response body should be an object 6 0 0
response body object should have correct property and value 6 0 0
response body data object should have a array books and contains 2 items 6 0 0
the books should have contains only id, name, and publisher property 6 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 95B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token ecd61250-1d80-4766-9b3f-c87ba9025903
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 225
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 25,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"Rrwfyz5yX70iPsKS"}}
Test Information
NamePassedFailedSkipped
status code should be 201 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
response body data should contain bookId 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 95B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 6f0bfe91-505a-4294-97f3-199458d357bb
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 226
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 100,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"gE7lL0SbSksGIH0y"}}
Test Information
NamePassedFailedSkipped
status code should be 201 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
response body data should contain bookId 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 73B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token d4c23f11-2af3-4e33-a952-e326446d5b41
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 202
Request Body
{
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 25,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 73
Date Wed, 03 Jul 2024 02:34:42 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal menambahkan buku. Mohon isi nama buku"}
Test Information
NamePassedFailedSkipped
status code should be 400 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 101B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token b1f9a7d9-d10a-4e64-8fe4-ece305b974ac
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 224
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 80,
            "readPage": 90,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 101
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal menambahkan buku. readPage tidak boleh lebih besar dari pageCount"}
Test Information
NamePassedFailedSkipped
status code should be 400 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 189B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 186dd63f-2a40-45b6-8477-d335dd314069
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 189
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"Rrwfyz5yX70iPsKS","name":"Buku A","publisher":"Dicoding Indonesia"},{"id":"gE7lL0SbSksGIH0y","name":"Buku A","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains two items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/Rrwfyz5yX70iPsKS
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 324B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 3ade7e57-c9f3-44c3-8ac4-97c6c48a0279
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 324
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"book":{"id":"Rrwfyz5yX70iPsKS","name":"Buku A","year":2010,"author":"John Doe","summary":"Lorem ipsum dolor sit amet","publisher":"Dicoding Indonesia","pageCount":100,"readPage":25,"finished":false,"reading":false,"insertedAt":"2024-07-03T02:34:42.700Z","updatedAt":"2024-07-03T02:34:42.700Z"}}}
Test Information
NamePassedFailedSkipped
response code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should an object 1 0 0
response body object should contain correct property and value 1 0 0
response body data object should contain book object 1 0 0
book object should contain correct property and value 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/gE7lL0SbSksGIH0y
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 324B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 2c7f8311-4a24-4768-9a2e-cb8935baaba7
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 324
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"book":{"id":"gE7lL0SbSksGIH0y","name":"Buku A","year":2010,"author":"John Doe","summary":"Lorem ipsum dolor sit amet","publisher":"Dicoding Indonesia","pageCount":100,"readPage":100,"finished":true,"reading":false,"insertedAt":"2024-07-03T02:34:42.813Z","updatedAt":"2024-07-03T02:34:42.813Z"}}}
Test Information
NamePassedFailedSkipped
response code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should an object 1 0 0
response body object should contain correct property and value 1 0 0
response body data object should contain book object 1 0 0
book object should contain correct property and value 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/xxxxx
Response Information
Response Code: 404 - Not Found
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token caf54f2b-ffe1-416a-8387-8291a46d53d9
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 50
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Buku tidak ditemukan"}
Test Information
NamePassedFailedSkipped
response code should be 404 1 0 0
response header Content-Type should be application/json 1 0 0
response body should an object 1 0 0
response body object should contain correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/Rrwfyz5yX70iPsKS
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 318B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 9a5e1ce5-c286-47d0-959c-d97af4371ba0
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 318
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"book":{"id":"Rrwfyz5yX70iPsKS","name":"Buku A Revisi","year":2011,"author":"Jane Doe","summary":"Lorem Dolor sit Ametttt","publisher":"Dicoding","pageCount":200,"readPage":26,"finished":false,"reading":false,"insertedAt":"2024-07-03T02:34:42.700Z","updatedAt":"2024-07-03T02:34:43.485Z"}}}
Test Information
NamePassedFailedSkipped
status code should be 200 2 0 0
response header Content-Type should be application/json 2 0 0
response body should be an object 2 0 0
response body should have correct property and value 2 0 0
when get detail books 2 0 0
book object should contain updated values 2 0 0
Total 12 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:9000/books/Rrwfyz5yX70iPsKS
Response Information
Response Code: 400 - Bad Request
Mean time per request: 4ms
Mean size per request: 73B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token f3227739-d819-4901-8da5-88fc0fd43da4
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 189
Request Body
{
            "year": 2011,
            "author": "Jane Doe",
            "summary": "Lorem Dolor sit Ametttt",
            "publisher": "Dicoding",
            "pageCount": 200,
            "readPage": 26,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 73
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal memperbarui buku. Mohon isi nama buku"}
Test Information
NamePassedFailedSkipped
status code should be 400 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:9000/books/Rrwfyz5yX70iPsKS
Response Information
Response Code: 400 - Bad Request
Mean time per request: 5ms
Mean size per request: 101B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 6777e7ba-e3cf-41b2-925e-d5321d9d796e
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 218
Request Body
{
            "name": "Buku A Revisi",
            "year": 2011,
            "author": "Jane Doe",
            "summary": "Lorem Dolor sit Ametttt",
            "publisher": "Dicoding",
            "pageCount": 80,
            "readPage": 90,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 101
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal memperbarui buku. readPage tidak boleh lebih besar dari pageCount"}
Test Information
NamePassedFailedSkipped
status code should be 400 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: PUT
Request URL: http://localhost:9000/books/xxxxx
Response Information
Response Code: 404 - Not Found
Mean time per request: 4ms
Mean size per request: 72B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 58380fdf-2f4f-4818-82a7-98f74a2b5af2
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 219
Request Body
{
            "name": "Buku A Revisi",
            "year": 2011,
            "author": "Jane Doe",
            "summary": "Lorem Dolor sit Ametttt",
            "publisher": "Dicoding",
            "pageCount": 200,
            "readPage": 26,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 72
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Gagal memperbarui buku. Id tidak ditemukan"}
Test Information
NamePassedFailedSkipped
status code should be 404 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/Rrwfyz5yX70iPsKS
Response Information
Response Code: 404 - Not Found
Mean time per request: 4ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token fb36e5de-f82b-4c1f-a74e-44d8b264ed93
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 50
Date Wed, 03 Jul 2024 02:34:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Buku tidak ditemukan"}
Test Information
NamePassedFailedSkipped
status code should be 200 2 0 0
response header Content-Type should be application/json 2 0 0
response body should be an object 2 0 0
response body should have correct property and value 2 0 0
when get detail books 2 0 0
The book should be not found 2 0 0
Total 12 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books/gE7lL0SbSksGIH0y
Response Information
Response Code: 404 - Not Found
Mean time per request: 3ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token d9d0ca12-b1e1-4eed-90bc-1f821169406b
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 50
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Buku tidak ditemukan"}
Test Information
NamePassedFailedSkipped
status code should be 200 2 0 0
response header Content-Type should be application/json 2 0 0
response body should be an object 2 0 0
response body should have correct property and value 2 0 0
when get detail books 2 0 0
The book should be not found 2 0 0
Total 12 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:9000/books/xxxxx
Response Information
Response Code: 404 - Not Found
Mean time per request: 4ms
Mean size per request: 68B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 3ba2bdee-2b10-4547-838f-3f8c95703373
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 68
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"fail","message":"Buku gagal dihapus. Id tidak ditemukan"}
Test Information
NamePassedFailedSkipped
status code should be 404 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body should have correct property and value 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 95B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 9dcf6d7e-d223-40b9-a671-03929e213f63
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 225
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 100,
            "reading": true
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"iQg6EQXB44GQOux0"}}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 95B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 5278099a-cf97-4529-acd5-45b825f07f91
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 232
Request Body
{
            "name": "Kelas Dicoding",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 99,
            "reading": true
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"lLd3GiC0M55Q2flh"}}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 4ms
Mean size per request: 95B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 844daddd-2fef-480c-8a08-5ef7cda0a853
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 231
Request Body
{
            "name": "dicoding Jobs",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 0,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"pyPJjaIabQenRwZD"}}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://localhost:9000/books
Response Information
Response Code: 201 - Created
Mean time per request: 5ms
Mean size per request: 95B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token b8ba5e9b-915a-4daf-a6d3-ccfb18af6a97
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 224
Request Body
{
            "name": "Buku A",
            "year": 2010,
            "author": "John Doe",
            "summary": "Lorem ipsum dolor sit amet",
            "publisher": "Dicoding Indonesia",
            "pageCount": 100,
            "readPage": 0,
            "reading": false
        }
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 95
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil ditambahkan","data":{"bookId":"N1lJEG2yA35fL2Te"}}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://localhost:9000/books?reading=1
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 197B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 8f532c7f-d18f-4d66-9479-4ac32424f6b9
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 197
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"iQg6EQXB44GQOux0","name":"Buku A","publisher":"Dicoding Indonesia"},{"id":"lLd3GiC0M55Q2flh","name":"Kelas Dicoding","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains 2 items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books?reading=0
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 196B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token ef710933-5812-4f70-b50f-2d6db03d51ae
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 196
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"pyPJjaIabQenRwZD","name":"dicoding Jobs","publisher":"Dicoding Indonesia"},{"id":"N1lJEG2yA35fL2Te","name":"Buku A","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains at 2 items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books?finished=1
Response Information
Response Code: 200 - OK
Mean time per request: 3ms
Mean size per request: 114B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token cb1ccae4-11c6-476f-b70a-9c88b3550d23
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 114
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"iQg6EQXB44GQOux0","name":"Buku A","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains 1 items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:9000/books?finished=0
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 279B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token 01398e04-857d-4483-906b-4a59d68cdaf5
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 279
accept-ranges bytes
Date Wed, 03 Jul 2024 02:34:44 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","data":{"books":[{"id":"lLd3GiC0M55Q2flh","name":"Kelas Dicoding","publisher":"Dicoding Indonesia"},{"id":"pyPJjaIabQenRwZD","name":"dicoding Jobs","publisher":"Dicoding Indonesia"},{"id":"N1lJEG2yA35fL2Te","name":"Buku A","publisher":"Dicoding Indonesia"}]}}
Test Information
NamePassedFailedSkipped
status code should be 200 1 0 0
response header Content-Type should be application/json 1 0 0
response body should be an object 1 0 0
response body object should have correct property and value 1 0 0
response body data object should have a array books and contains 3 items 1 0 0
the books should have contains only id, name, and publisher property 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:9000/books/N1lJEG2yA35fL2Te
Response Information
Response Code: 200 - OK
Mean time per request: 13ms
Mean size per request: 54B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.0
Accept */*
Cache-Control no-cache
Postman-Token ddbfd60c-d774-4cf2-b928-65355fa2deaa
Host localhost:9000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
content-type application/json; charset=utf-8
cache-control no-cache
content-length 54
Date Wed, 03 Jul 2024 02:34:45 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"status":"success","message":"Buku berhasil dihapus"}
Test Information
NamePassedFailedSkipped
status code should be 200 6 0 0
response header Content-Type should be application/json 6 0 0
response body should be an object 6 0 0
response body object should have correct property and value 6 0 0
response body data object should have a array books and contains 2 items 6 0 0
the books should have contains only id, name, and publisher property 6 0 0
Total 36 0 0
Test Failure
Test NameAssertion Error