ServeRest - 2026-03-10_17-52-19

Tuesday, 10 March 2026 17:52:20
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: 244ms
Total data received: 1.6KB
Average response time: 16ms
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: 37ms
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 de00b449-153a-463e-9bf3-73d8a99adb23
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 127
Request Body
{
          "nome": "Admin QAQQQ",
          "email": "admin.1773175940702@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 Tue, 10 Mar 2026 20:52:20 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "g9aLoCN9xT4wLNCe"
        }
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 1888e1a3-60d5-452c-9165-6faef12dbbd7
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 Tue, 10 Mar 2026 20:52:20 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Login realizado com sucesso",
            "authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczMTc1OTQwLCJleHAiOjE3NzMxNzY1NDB9.9mQ098vuuX9EtGN33_kb-2_0uiIE5tR1w0Qq6qd7Gys"
        }
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 444ab384-701d-4a2e-8a3f-55ec0d59ff66
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 73
Request Body
{
          "email": "admin.qa+1773175941@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 Tue, 10 Mar 2026 20:52:20 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.1773175940702@qa.com.br",
                    "password": "1234",
                    "administrador": "true",
                    "_id": "g9aLoCN9xT4wLNCe"
                }
            ]
        }
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: 50ms
Mean size per request: 82B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczMTc1OTQwLCJleHAiOjE3NzMxNzY1NDB9.9mQ098vuuX9EtGN33_kb-2_0uiIE5tR1w0Qq6qd7Gys
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token be608dce-2583-4162-8668-2152bdb38791
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 117
Request Body
{
          "nome": "Teclado kabum 1773175940813",
          "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 Tue, 10 Mar 2026 20:52:20 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{
            "message": "Cadastro realizado com sucesso",
            "_id": "MCrDtZk2WqKuWfWk"
        }
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: 3ms
Mean size per request: 642B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczMTc1OTQwLCJleHAiOjE3NzMxNzY1NDB9.9mQ098vuuX9EtGN33_kb-2_0uiIE5tR1w0Qq6qd7Gys
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 14a87d83-f466-44b8-9874-98dcd0a9f470
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 Tue, 10 Mar 2026 20:52:20 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": "Samsung 60 polegadas",
                    "preco": 5240,
                    "descricao": "TV",
                    "quantidade": 49977,
                    "_id": "K6leHdftCeOJj8BJ"
                },
                {
                    "nome": "Teclado kabum 1773175940813",
                    "preco": 350,
                    "descricao": "perifericos",
                    "quantidade": 381,
                    "_id": "MCrDtZk2WqKuWfWk"
                }
            ]
        }
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://localhost:3000/produtos/MCrDtZk2WqKuWfWk
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.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczMTc1OTQwLCJleHAiOjE3NzMxNzY1NDB9.9mQ098vuuX9EtGN33_kb-2_0uiIE5tR1w0Qq6qd7Gys
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token c663e614-dee6-4bcb-94cd-75a212e4d3ce
Host localhost:3000
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 127
Request Body
{
          "nome": "Teclado kabum 1773175940813 (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 Tue, 10 Mar 2026 20:52:20 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/MCrDtZk2WqKuWfWk
Response Information
Response Code: 200 - OK
Mean time per request: 8ms
Mean size per request: 51B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Content-Type application/json
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZ1bGFub0BxYS5jb20iLCJwYXNzd29yZCI6InRlc3RlIiwiaWF0IjoxNzczMTc1OTQwLCJleHAiOjE3NzMxNzY1NDB9.9mQ098vuuX9EtGN33_kb-2_0uiIE5tR1w0Qq6qd7Gys
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 3d60961f-497e-489c-8178-e2f42f22b36c
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 Tue, 10 Mar 2026 20:52:20 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