ServeRest

Sunday, 15 March 2026 10:02:43
Total Iterations

1

Total Assertions

7

Total Failed Tests

0

Total Skipped Tests

0


File Information
Collection: Teste ServeRest
Timings and Data
Total run duration: 208ms
Total data received: 1.6KB
Average response time: 10ms
Summary Item Total Failed
Requests 7 0
Prerequest Scripts 3 0
Test Scripts 6 0
Assertions 7 0
Skipped Tests 0 -



There are no failed tests





There are no skipped tests



1 Iteration available to view
Request Information
Request Method: POST
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 201 - Created
Mean time per request: 33ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 7a054b12-5f9a-4e3a-96d8-393b2c2aad16
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 127
Request Body
{
          "nome": "Admin QAQQQ",
          "email": "admin.1773579763261@qa.com.br",
          "password": "1234",
          "administrador": "true"
        }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 15 Mar 2026 13:02:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "LmoGyhRNWHCtYSJ8"
        }
Test Information
NamePassedFailedSkipped
Validar mensagem de sucesso 1 0 0
Status code is 200 1 0 0
Total 2 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:3000/login
Response Information
Response Code: 200 - OK
Mean time per request: 7ms
Mean size per request: 265B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 3d190d9c-66f4-4d77-ac73-83252cb177a4
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 66
Request Body
{ 
            "email":"fulano@qa.com",
            "password":"teste" 
         
         }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
Content-Type application/json; charset=utf-8
Content-Length 265
Date Sun, 15 Mar 2026 13:02:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczNTc5NzYzLCJleHAiOjE3NzM1ODAzNjN9.tJmQP2KVa8Z6B3lGjZgEjQngiVb3jN46DIfvRH7Qgkw"
        }
Test Information
NamePassedFailedSkipped
Status 200 1 0 0
Total 1 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/usuarios
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 470B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Content-Type application/json
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token de981a4f-9ea6-4f7a-bfa1-f4f24e63417e
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 73
Request Body
{
          "email": "admin.qa+1773579763@qa.com.br",
          "password": "1234"
        }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
Content-Type application/json; charset=utf-8
Content-Length 470
Date Sun, 15 Mar 2026 13:02:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 2,
            "usuarios": [
                {
                    "nome": "Fulano da Silva",
                    "email": "fulano@qa.com",
                    "password": "teste",
                    "administrador": "true",
                    "_id": "0uxuPY0cbmQhpEz1"
                },
                {
                    "nome": "Admin QAQQQ",
                    "email": "admin.1773579763261@qa.com.br",
                    "password": "1234",
                    "administrador": "true",
                    "_id": "LmoGyhRNWHCtYSJ8"
                }
            ]
        }
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 201 - Created
Mean time per request: 12ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczNTc5NzYzLCJleHAiOjE3NzM1ODAzNjN9.tJmQP2KVa8Z6B3lGjZgEjQngiVb3jN46DIfvRH7Qgkw
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token cec99e02-7ef0-4ba6-807a-908e30f85e74
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 117
Request Body
{
          "nome": "Teclado kabum 1773579763367",
          "preco": 350,
          "descricao": "perifericos",
          "quantidade": 381
        }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
Content-Type application/json; charset=utf-8
Content-Length 82
Date Sun, 15 Mar 2026 13:02:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "BiPio2AIiAGi6kKB"
        }
Test Information
NamePassedFailedSkipped
Status 201 1 0 0
Total 1 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:3000/produtos
Response Information
Response Code: 200 - OK
Mean time per request: 4ms
Mean size per request: 642B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczNTc5NzYzLCJleHAiOjE3NzM1ODAzNjN9.tJmQP2KVa8Z6B3lGjZgEjQngiVb3jN46DIfvRH7Qgkw
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token f98921cb-2c60-467b-a12f-e757f3b58bf8
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
Content-Type application/json; charset=utf-8
Content-Length 642
Date Sun, 15 Mar 2026 13:02:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "quantidade": 3,
            "produtos": [
                {
                    "nome": "Logitech MX Vertical",
                    "preco": 470,
                    "descricao": "Mouse",
                    "quantidade": 382,
                    "_id": "BeeJh5lz3k6kSIzA"
                },
                {
                    "nome": "Teclado kabum 1773579763367",
                    "preco": 350,
                    "descricao": "perifericos",
                    "quantidade": 381,
                    "_id": "BiPio2AIiAGi6kKB"
                },
                {
                    "nome": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49977,
                    "_id": "K6leHdftCeOJj8BJ"
                }
            ]
        }
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/BiPio2AIiAGi6kKB
Response Information
Response Code: 200 - OK
Mean time per request: 5ms
Mean size per request: 50B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczNTc5NzYzLCJleHAiOjE3NzM1ODAzNjN9.tJmQP2KVa8Z6B3lGjZgEjQngiVb3jN46DIfvRH7Qgkw
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token e423ef74-7b25-49b2-9437-83f7dcf4dc8b
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 127
Request Body
{
          "nome": "Teclado kabum 1773579763367 (editado)",
          "preco": 400,
          "descricao": "perifericos",
          "quantidade": 381
        }
        
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
Content-Type application/json; charset=utf-8
Content-Length 50
Date Sun, 15 Mar 2026 13:02:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro alterado com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status 200/201 1 0 0
Total 1 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:3000/produtos/BiPio2AIiAGi6kKB
Response Information
Response Code: 200 - OK
Mean time per request: 9ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczNTc5NzYzLCJleHAiOjE3NzM1ODAzNjN9.tJmQP2KVa8Z6B3lGjZgEjQngiVb3jN46DIfvRH7Qgkw
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 56740a64-a280-4646-a64b-6fb1514763f1
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 104
Request Body
{
          "nome": "Teclado logitech",
          "preco": 350,
          "descricao": "perifericos",
          "quantidade": 381
        }
Response Headers
Header NameHeader Value
Access-Control-Allow-Origin *
x-dns-prefetch-control off
x-frame-options SAMEORIGIN
strict-transport-security max-age=15552000; includeSubDomains
x-download-options noopen
x-content-type-options nosniff
x-xss-protection 1; mode=block
Content-Type application/json; charset=utf-8
Content-Length 51
Date Sun, 15 Mar 2026 13:02:43 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Registro excluído com sucesso"
        }
Test Information
NamePassedFailedSkipped
Status 200 1 0 0
Registro removido 1 0 0
Total 2 0 0
Test Failure
Test NameAssertion Error