Graham White
98b45a2fd4
refactor: protocol regex matches axios
...
Since axios is used for requests, it makes sense to match the protocol parsing
with their code at
https://github.com/axios/axios/blob/main/lib/helpers/parseProtocol.js
Closes : #1152
Signed-off-by: Graham White <graham_alton@hotmail.com>
2023-12-05 17:22:56 +00:00
Anoop M D
2c618cb08b
chore: updated deps
2023-12-02 02:11:40 +05:30
Nelu Platonov
d0f858681d
feat( #946 ): Fix PR #1070 - Add feature to CLI & prepend 'http://' to URL after interpolation
2023-11-30 01:23:27 +01:00
Shourav Nath
fa7afd4237
feat( #1050 ): Response time in res
2023-11-25 13:00:59 +06:00
Anoop M D
11ce057310
Merge pull request #951 from mirkogolze/bugfix/correct-proxy-settings-evaluation
...
#937 , #921 improve evaluation of proxy configuration, allow empty port
2023-11-18 09:34:43 +05:30
Anoop M D
e96da632b2
chore: version bump @usebruno/js @usebruno/cli
2023-11-18 08:29:18 +05:30
Mirko Golze
e1a74d0652
#937 , #921 improve evaluation of proxy configuration, allow empty proxy port
2023-11-10 21:20:30 +01:00
Anoop M D
ba761098be
chore( #827 ): bumped bruno cli version to 1.1.0
2023-11-09 16:12:33 +05:30
Anoop M D
1f709c6faa
chore: cli release 1.0.0
2023-11-02 22:36:48 +05:30
Martin Hoecker
8183ce03c5
feat: bru.setNextRequest(null) breaks execution without error
2023-11-01 23:53:15 +01:00
Martin Hoecker
129d659628
Count the number of jumps to break out of infinite loops.
...
This is especially useful for the bru cli, to make sure that test-runners
that are accidentally stuck in an infinite loop still terminate in a
reasonable amount of time and don't hog up resources.
2023-11-01 23:15:54 +01:00
Brian Dentino
d76253ea04
Fixes for getNextRequest in UI
2023-10-26 22:46:35 +02:00
Martin Hoecker
3374db1ac8
Merge branch 'main' into feature/add-bru-setNextRequest
2023-10-24 22:38:44 +02:00
Anoop M D
5ba3903c31
fix( #701 ): fix bru cli issue
2023-10-23 14:09:24 +05:30
Anoop M D
b35596bb59
chore: updated monorepo package versions
2023-10-23 03:28:22 +05:30
Chris Wilper
1d58bdab59
fix: respect rejectUnauthorized and ca opts when proxying https
2023-10-22 11:29:49 -04:00
Chris Wilper
bbb904437f
chore: re-sync proxy-util.js copies
2023-10-21 14:32:41 -04:00
Anoop M D
d809a58deb
chore: pr polish ( #596 )
2023-10-18 10:25:01 +05:30
Anoop M D
d767a144f2
Merge pull request #596 from mirkogolze/feature/proxy-global-and-collection
...
proxy settings on global and collection level
2023-10-17 23:34:45 +05:30
Stefan Ollinger
4ab4f09987
Set body on SPARQL request
2023-10-17 11:23:11 +02:00
Martin Hoecker
d4c0207545
feat: bru.setNextRequest()
2023-10-16 17:29:26 +02:00
Mirko Golze
19463cd0cf
merge main into proxy branch
2023-10-16 12:08:10 +02:00
Mirko Golze
6dd6879e8f
proxy settings global and collection level
2023-10-15 20:26:36 +02:00
Mirko Golze
470e9d0442
proxy settings
2023-10-15 16:40:50 +02:00
bacebu4
fcbecfb480
fix(bruno-cli): add missing variable to prepareRequest
2023-10-12 09:57:33 +02:00
Anoop M D
9beb422674
chore: release v0.23.0
2023-10-11 04:01:51 +05:30
Anoop M D
659a71491d
publish: bru lang v0.7.0
2023-10-10 04:38:56 +05:30
Anoop M D
239caa1763
chore: published bru cli v0.14.0
2023-10-09 08:27:32 +05:30
Anoop M D
362289b7cd
feat( #334 ): bru cli support for collection headers, auth, scripts and tests
2023-10-09 08:26:10 +05:30
Ricardo Q. Bazan
bf90ee96e5
chore: add support for cli
2023-10-08 12:09:33 -05:00
Anoop M D
8fadaf98ae
feat( #306 ): bru cli v0.13.0 release
2023-10-07 03:23:39 +05:30
Anoop M D
8f1f41374c
feat( #306 ): module whitelisting support
2023-10-07 03:20:44 +05:30
Anoop M D
0f3a8a87bb
feat( #306 ): bru cli support for allowScriptFilesystemAccess
2023-10-07 02:41:56 +05:30
Anoop M D
de74edb50f
feat: interpolation of proxy vars
2023-10-06 22:49:48 +05:30
Anoop M D
9474918853
chore: fixed typo
2023-10-06 22:11:14 +05:30
Anoop M D
d5a6522563
Merge branch 'main' into main
2023-10-06 17:36:35 +05:30
Anoop M D
c25542bbdf
chore: bru cli v0.12.0 release
2023-10-06 04:59:57 +05:30
Anoop M D
e3f32dfc87
Merge pull request #397 from dozed/response-time-axios
...
Use axios interceptor to measure response time
2023-10-06 04:13:52 +05:30
Stefan Ollinger
bb7d13d2d9
Use axios interceptor to measure response time
2023-10-05 17:46:12 +02:00
Anoop M D
c08be14d87
Merge branch 'main' of github.com:usebruno/bruno
2023-10-05 21:15:59 +05:30
Anoop M D
90f47e5877
feat( #396 ): decomment support in json and scripts
2023-10-05 21:15:38 +05:30
Stefan Ollinger
efbdde8252
Set responseTime
2023-10-05 17:11:29 +02:00
Stefan Ollinger
ae2f170fe6
Put constant in outer scope
2023-10-05 17:05:31 +02:00
Stefan Ollinger
e90718f47b
Show response time in milliseconds per request and total
2023-10-05 16:42:49 +02:00
Stefan Ollinger
04481a26e1
Show response time in milliseconds per request and total
2023-10-05 16:36:57 +02:00
Anoop M D
0cbf803ed9
chore: restructured tests into seperate dir as jest error was preventing local exec of cli
2023-10-05 19:51:06 +05:30
Anoop M D
2c4a3a5eb4
Merge pull request #241 from tpyle/bug/correct-result-reporting
...
Handle failed requests and reduce duplication
2023-10-05 19:40:28 +05:30
Alex Costinescu
8216bf5eec
Merge remote-tracking branch 'upstream/main'
2023-10-04 20:37:18 -04:00
Alex Costinescu
9f11cfc836
Changed proxied requests to use https-proxy-agent to handle TCP tunneling.
2023-10-04 20:31:34 -04:00
Anoop M D
1c8712b6eb
chore: bru cli v0.11.0 release
2023-10-05 04:04:05 +05:30
Anoop M D
8d89496304
fix( #329 ): fixed basic auth header issue + added cli support for basic and bearer auth
2023-10-05 02:32:24 +05:30
Thomas Pyle
da4e96d1ef
Merge remote-tracking branch 'upstream/main' into bug/correct-result-reporting
2023-10-03 22:15:53 -04:00
Anoop M D
744abe585c
revert pr #252
2023-10-04 05:52:59 +05:30
Anoop M D
d4b663bfa8
Merge pull request #252 from acostinescu/main
...
Changed Proxied Requests to Use https-proxy-agent.
2023-10-04 04:20:38 +05:30
Its-treason
2734f26c78
fix( #270 ): Fix deleted assertions & tests shown in test tab
...
After all tests or assertions were deleted the store was not
updated because of the length checks. Now the assertions/tests
will always try to run, to ensure the data is always updated.
2023-10-03 13:04:34 +02:00
Andy Piper
6695d90609
Remove rogue apostrophes and capitalise API in text.
...
Signed-off-by: Andy Piper <andypiper@users.noreply.github.com>
2023-09-30 15:37:45 +01:00
Alex Costinescu
742d69b03c
Re-added missing https require statement.
2023-09-29 15:37:39 +02:00
Alex Costinescu
0e3bc62d9d
Changed proxied requests to use https-proxy-agent to handle TCP tunneling.
2023-09-29 15:24:13 +02:00
Thomas Pyle
4ba4d8fc27
Merge branch 'main' into bug/correct-result-reporting
2023-09-29 06:53:57 -05:00
Lesage Yann
314e8c17d3
feat: allow test to be asynchrone
2023-09-29 08:55:26 +02:00
Thomas Pyle
5f32924ddb
Adds some simple unit tests around printRunSummary
2023-09-28 20:58:25 -04:00
Thomas Pyle
9bcf56d689
Handle failed requests and reduce duplication
2023-09-28 20:42:48 -04:00
Anoop M D
0517b2685e
fix( #233 ): bru cli fix for content header parsing issue
2023-09-28 18:31:42 +05:30
Anoop M D
f695036721
feat( #224 ): Bru CLI support for proxying requests
2023-09-28 05:26:09 +05:30
Anoop M D
3661fa7df3
chore: published libs
2023-09-28 05:17:59 +05:30
Mirko Golze
36f9902f2e
#191 interpolate header names with variables
2023-09-27 22:36:27 +02:00
Anoop M D
cbb975d81d
Merge branch 'main' into feature/license_all_modules
2023-09-26 22:49:19 +05:30
Anoop M D
30ee472c40
release( #212 ): bru cli v0.9.0
2023-09-26 22:37:55 +05:30
Brent Shikoski
6306ad17c3
Add license information to modules.
2023-09-25 20:57:51 -05:00
Thomas Pyle
89f418a114
Adds an option to collect output from cli runs
2023-09-25 17:48:53 -04:00
Anoop M D
eb6b75ff98
feat( #199 ): bru cli updates to load .env vars
2023-09-25 02:10:12 +05:30
Mirko Golze
8e22aa2fca
#199 improve code to check given envvars correctly
2023-09-24 15:40:04 +02:00
Mirko Golze
6b9e085696
#199 small code refactoring
2023-09-24 15:39:56 +02:00
Mirko Golze
74282706aa
#199 add CLI feature to use command line parameter '--env-var secret=xzy123'
2023-09-24 15:39:51 +02:00
Anoop M D
ae692dde06
chore( #197 ): ran prettier on packages/bruno-cli
2023-09-22 00:34:11 +05:30
Mirko Golze
7d4d1573af
set content-type header only if not set by user
2023-09-18 07:12:18 +02:00
Anoop M D
9e400085e3
Merge pull request #187 from BrentShikoski/feature/support-custom-cacert
...
support custom cacert file
2023-09-09 13:59:05 +05:30
Brent Shikoski
b07bb67943
consistent formatting
2023-09-08 21:33:09 -05:00
Brent Shikoski
593210456a
refactor code around https.Agent for flexibility
2023-09-08 21:23:27 -05:00
Brent Shikoski
e328a4615e
cacert support through process environment vars
2023-09-08 20:56:12 -05:00
Anoop M D
73b71e0829
release( #183 ): bruno cli v0.7.1
2023-09-07 12:31:21 +05:30
Brent Shikoski
1ed39a5ea6
support alternative cacert
2023-09-04 15:49:36 -05:00
Anoop M D
99239e19b4
release bruno cli v0.7.0
2023-09-04 12:24:18 +05:30
Brent Shikoski
d0147778db
add ability to turn certificate validation off
2023-09-03 20:43:32 -05:00
Brent Shikoski
87119cee2e
add ability to turn certificate validation off
2023-09-03 20:19:56 -05:00
Anoop M D
b25d896dd6
fix( #178 ): fixed await issue while running scripts
2023-09-01 17:49:34 +05:30
Anoop M D
08495e7fb5
fix( #178 ): fixed issue in bruno cli where collection run was getting aborted for 4xx/5xx responses
2023-09-01 14:18:41 +05:30
Anoop M D
aeb9fc8875
chore: release bruno packages to npm
2023-09-01 13:43:26 +05:30
Lesage Yann
bd670eceb6
chore: improve the cli doc to avoid misunderstandings on the command:
2023-08-29 11:36:35 +02:00
Anoop M D
66024d04e9
chore: version bump
2023-05-02 15:26:27 +05:30
Anoop M D
330a7ad18a
fix: fixed bug where content type was getting overwritten everytime as application/x-www-form-urlencoded
2023-05-02 15:25:07 +05:30
Anoop M D
2976842588
chore: version bump for bruno cli v0.5.0
2023-04-30 12:10:08 +05:30
Anoop M D
51e0ea2c2d
feat( #155 ): exit process with non zero code when tests or assertions fail
2023-04-30 12:08:23 +05:30
Anoop M D
49b0f3a322
fix( #148 ) : fixed issue where form url encoded params were not being interpolated
2023-04-27 19:25:52 +05:30
Anoop M D
ede122ab09
fix: fix image rendering issues in bru cli npm readme
2023-04-01 13:57:59 +05:30
Anoop M D
96e368cb18
fix: fixed bru cli typos
2023-04-01 13:55:32 +05:30
Anoop M D
942b75861c
fix: fixed broken link in bruno cli readme
2023-04-01 13:54:33 +05:30
Anoop M D
c1711ea01b
fix: fixing npm image rendering issues in readme
2023-04-01 13:53:32 +05:30
Anoop M D
dedfefbc9a
chore: release cli docs to npm
2023-04-01 13:48:35 +05:30
Anoop M D
65dd5df87e
chore: added screenshot of bru cli output
2023-04-01 13:46:13 +05:30