Skip to content

feat: correctly format json when importing from curl (#1472) #26

feat: correctly format json when importing from curl (#1472)

feat: correctly format json when importing from curl (#1472) #26

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 17s with 40 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
auth/basic/via auth/Basic Auth 200 2✅ 1s
auth/basic/via auth/Basic Auth 401 2✅ 863ms
auth/basic/via script/Basic Auth 200 2✅ 873ms
auth/basic/via script/Basic Auth 401 2✅ 872ms
auth/bearer/via auth/Bearer Auth 200 2✅ 804ms
auth/bearer/via auth/Bearer Auth 401 2✅ 861ms
auth/bearer/via headers/Bearer Auth 200 2✅ 872ms
auth/bearer/via headers/Bearer Auth 401 2✅ 812ms
auth/cookie/Check 801ms
auth/cookie/Login 841ms
echo/echo json 2✅ 844ms
echo/echo plaintext 2✅ 880ms
echo/echo xml parsed 2✅ 882ms
echo/echo xml raw 818ms
ping 2✅ 850ms
preview/html/bruno 2✅ 86ms
preview/image/bruno 1✅ 76ms
redirects/Disable Redirect 2✅ 849ms
redirects/Test Redirect 3✅ 1s
string interpolation/env vars 2✅ 845ms
string interpolation/missing values 2✅ 830ms
string interpolation/process env vars 2✅ 316ms
string interpolation/runtime vars 2✅ 323ms

✅ 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