Skip to content

fix(#1436): fixed inconsistent beheviour of res.getHeaders() api #14

fix(#1436): fixed inconsistent beheviour of res.getHeaders() api

fix(#1436): fixed inconsistent beheviour of res.getHeaders() api #14

GitHub Actions / Test Report succeeded Jan 29, 2024 in 0s

40 passed, 0 failed and 0 skipped

Tests passed successfully

✅ packages/bruno-tests/collection/junit.xml

40 tests were completed in 16s with 40 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
auth/basic/via auth/Basic Auth 200 2✅ 870ms
auth/basic/via auth/Basic Auth 401 2✅ 787ms
auth/basic/via script/Basic Auth 200 2✅ 799ms
auth/basic/via script/Basic Auth 401 2✅ 821ms
auth/bearer/via auth/Bearer Auth 200 2✅ 776ms
auth/bearer/via auth/Bearer Auth 401 2✅ 279ms
auth/bearer/via headers/Bearer Auth 200 2✅ 789ms
auth/bearer/via headers/Bearer Auth 401 2✅ 274ms
auth/cookie/Check 786ms
auth/cookie/Login 747ms
echo/echo json 2✅ 295ms
echo/echo plaintext 2✅ 780ms
echo/echo xml parsed 2✅ 788ms
echo/echo xml raw 770ms
ping 2✅ 773ms
preview/html/bruno 2✅ 83ms
preview/image/bruno 1✅ 44ms
redirects/Disable Redirect 2✅ 825ms
redirects/Test Redirect 3✅ 1s
string interpolation/env vars 2✅ 811ms
string interpolation/missing values 2✅ 770ms
string interpolation/process env vars 2✅ 779ms
string interpolation/runtime vars 2✅ 744ms

✅ auth/basic/via auth/Basic Auth 200

https://testbench-sanity.usebruno.com/api/auth/basic/protected
  ✅ res.status 200
  ✅ res.body.message Authentication successful

✅ auth/basic/via auth/Basic Auth 401

https://testbench-sanity.usebruno.com/api/auth/basic/protected
  ✅ res.status 401
  ✅ res.body Unauthorized

✅ auth/basic/via script/Basic Auth 200

https://testbench-sanity.usebruno.com/api/auth/basic/protected
  ✅ res.status eq 200
  ✅ res.body.message Authentication successful

✅ auth/basic/via script/Basic Auth 401

https://testbench-sanity.usebruno.com/api/auth/basic/protected
  ✅ res.status 401
  ✅ res.body Unauthorized

✅ auth/bearer/via auth/Bearer Auth 200

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ✅ res.status 200
  ✅ res.body.message Authentication successful

✅ auth/bearer/via auth/Bearer Auth 401

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ✅ res.status 401
  ✅ res.body.message Unauthorized

✅ auth/bearer/via headers/Bearer Auth 200

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ✅ res.status 200
  ✅ res.body.message Authentication successful

✅ auth/bearer/via headers/Bearer Auth 401

https://testbench-sanity.usebruno.com/api/auth/bearer/protected
  ✅ res.status 401
  ✅ res.body.message Unauthorized

✅ echo/echo json

https://testbench-sanity.usebruno.com/api/echo/json
  ✅ res.status eq 200
  ✅ should return json

✅ echo/echo plaintext

https://testbench-sanity.usebruno.com/api/echo/text
  ✅ res.status eq 200
  ✅ should return plain text

✅ echo/echo xml parsed

https://testbench-sanity.usebruno.com/api/echo/xml-parsed
  ✅ res.status eq 200
  ✅ should return parsed xml

✅ ping

https://testbench-sanity.usebruno.com/ping
  ✅ res.status eq 200
  ✅ should ping pong

✅ preview/html/bruno

https://www.usebruno.com
  ✅ res.status eq 200
  ✅ should return parsed xml

✅ preview/image/bruno

https://www.usebruno.com/images/landing-2.png
  ✅ should return parsed xml

✅ redirects/Disable Redirect

https://testbench-sanity.usebruno.com/redirect-to-ping
  ✅ res.status 302
  ✅ should disable redirect to ping

✅ redirects/Test Redirect

https://testbench-sanity.usebruno.com/redirect-to-ping
  ✅ res.status 200
  ✅ res.body pong
  ✅ should redirect to ping

✅ string interpolation/env vars

https://testbench-sanity.usebruno.com/api/echo/json
  ✅ res.status eq 200
  ✅ should return json

✅ string interpolation/missing values

https://testbench-sanity.usebruno.com/api/echo/json?foo={{undefinedVar}}
  ✅ res.status eq 200
  ✅ should return json

✅ string interpolation/process env vars

https://testbench-sanity.usebruno.com/api/echo/json
  ✅ res.status eq 200
  ✅ should return json

✅ string interpolation/runtime vars

https://testbench-sanity.usebruno.com/api/echo/text
  ✅ res.status eq 200
  ✅ should return json