mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-25 21:55:49 +00:00
~ axios error interceptor fixes and timeline network logs ui updates ~ axios instance error interceptor now returns promise rejects instead of plain objects ~ fixed digest_auth regression ~ removed the interceptor logic for the oauth2 token url calls ~ timeline network logs ui updates ~ updated oauth2 test collections * ssl/tls fixes and error handling ~ set the min allowed tls version to 1.0 (TLSv1) ~ proxy/certs/tls setup error handling * enhance JSON stringification with circular reference handling - Add getCircularReplacer to safely handle circular references in objects - Update safeStringifyJSON to support indentation and handle undefined values ~ we currently support digest auth for bruno-cli --------- Co-authored-by: lohit <lohit@usebruno.com> Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
bruno-tests
This package is used to test the Bruno CLI.
We have a collection that sits in the collection directory.
Test Server
This will start the server on port 80 which exposes endpoints that the collection will hit.
# install node dependencies
npm install
# start server
npm start
Run Bru CLI on Collection
cd collection
# run collection against local server
node ../../bruno-cli/bin/bru.js run --env Local --output junit.xml --format junit
# run collection against prod server hosted at https://testbench.usebruno.com
node ../../bruno-cli/bin/bru.js run --env Prod --output junit.xml --format junit