Matthew Dickinson
b82a2c3312
Added cookie support to CLI requests
2024-10-18 17:48:35 -04:00
lohit
cc8f3de8be
feat: upgrade libraries for dependabot alerts ( #3300 )
...
* feat: upgrade libraries and code cleanup
2024-10-17 11:04:47 +05:30
dwolter-emarsys
93f8d916c4
INTERNAL | correcting WSSE logic ( #3252 )
2024-10-03 23:23:40 +05:30
lohit
4797119657
fix: interpolate form-urlencoded and multipart formdata values individually ( #3237 )
...
* fix: interpolate form-urlencoded and multipart values individually
* feat: cli updates
2024-10-01 18:24:03 +05:30
lohit
25f43f12c7
feat: request execution mode ( #3200 )
2024-09-26 15:54:20 +05:30
Sam Briggs
2dd5ae400c
Fix #2760 : Path params trailing slash ( #3065 )
...
As reported in #2670 , if a URL has a trailing slash and also contains
path parameters then the original logic had a bug that would drop the
trailing slash.
This implements the fix proposed by @ThenTech.
2024-09-26 11:18:18 +05:30
Sanjai Kumar
4d820af4e0
Improved Feat/wsse auth ( #3172 )
...
* adding wsse auth logic
* adding wsse auth logic to electron
* adding wsse auth formatting
* Refactoring WSSE 'secret' to 'password'
* Incorporating PR feedback
* Removed unused packages from package.json
* Fixed issue caused when resolving merge conflicts and added new route to test wsse
* Removed deprecated package usages from bruno-cli
* Fixed tests
---------
Co-authored-by: dwolter-emarsys <dylan.wolter@emarsys.com>
2024-09-23 17:46:31 +05:30
lohit
ed20eccc25
fix: multipart/form-data body interpolation ( #3142 )
...
* feat: updates
* feat: updates
* feat: updates
* feat: updates
2024-09-23 15:54:54 +05:30
Lukáš Linhart
dd2b93e8cd
fix: Allow to set custom user agent ( #3146 )
...
Co-authored-by: Linhart Lukáš <Lukas.Linhart@tescosw.cz>
2024-09-20 14:09:11 +05:30
David Francis
5e4a96792e
feat: Feature/cli support multiple reporters ( #2911 )
...
* Support multiple reporters at once in the CLI
* Typos
* Better logging string after writing file
* Remove double blank line
* More double blank lines
* Switch reporter schema to one from discussion
* Typo
* Add comment
2024-09-16 16:33:18 +05:30
Lukáš Linhart
b3c72b1640
bugfix/useragent-header ( #2979 )
...
* add bruno-specific userAgent header
* Update axios-instance.js
---------
Co-authored-by: Linhart Lukáš <Lukas.Linhart@tescosw.cz>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-09-16 00:03:45 +05:30
Jonathan Gruber
bcc8811f65
chore( #673 ): remove obsolete mustache.js library ( #674 )
...
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-09-05 00:24:09 +05:30
Anoop M D
cb395e7649
Collection Variables Support ( #2963 ) ( #3018 )
...
Support for Collection Variables
---------
Co-authored-by: lohit <lohit.jiddimani@gmail.com>
Co-authored-by: lohit <lohxt.space@gmail.com>
2024-09-03 21:18:38 +05:30
Anoop M D
c5c343c543
feat: update proxy implementation in preferences ( #2977 )
2024-08-30 15:22:06 +05:30
lohit
c1ec95dc29
fix: option to toggle on/off system proxy env variables ( #2724 )
...
fix: option to toggle on/off system proxy env variables
2024-08-30 11:44:29 +05:30
chrisn
22fab7f599
Update bruno-cli/options-description ( #1592 )
...
- Addition to the parameter description for the new tests-only switch
Co-authored-by: Chris Nagel <mail@chrisnagel.de>
2024-08-24 01:19:47 +05:30
lohit
44d70ca02a
fix: boolean, undefined, null values eval in quickjs vm ( #2893 )
...
fix: boolean, undeifned, null values in pre-request vars
2024-08-23 16:18:41 +05:30
Anoop M D
753a576c3c
Feat/safe mode quickjs ( #2848 )
...
Safe Mode Sandbox using QuickJS
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
Co-authored-by: lohit <lohit.jiddimani@gmail.com>
2024-08-21 12:52:49 +05:30
BruAlcaraz
c99da3a581
Allow bru.setNextRequest() on Test Scripts ( #2155 ) ( #2552 )
...
Co-authored-by: Alcaraz, Bruno <Bruno.Alcaraz@ulgroup.com>
2024-07-25 16:57:55 +05:30
lohit
ab9bcbe5ed
feat/rename collectionVariables variable name to runtimeVariables ( #2638 )
...
* pr review changes
* collection root object in export json
* import environment updates
* tests run execution order fix for collection runs
* updated validations
* collectionVariables -> runtimeVariables
* removed husky, adjusted indentation
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-07-17 17:21:03 +05:30
Anoop M D
1239baf687
chore: added graceful check while accessing path params
2024-07-10 11:55:12 +05:30
Fabio GRANDE
b2038c7cc2
CLI doesn't interpolate params on the URL #2587 ( #2588 )
...
Co-authored-by: Fabio Grande <fabio.grande@hdhome.it>
2024-07-10 11:52:18 +05:30
Fabio GRANDE
9f76834b2f
Bruno CLI tries to execute folder.bru #2584 ( #2585 )
...
Co-authored-by: Fabio Grande <fabio.grande@hdhome.it>
2024-07-10 11:49:12 +05:30
Jorge Caridad
8094149fbe
fixed typos in bruno-cli readme.md ( #2600 )
2024-07-10 11:29:23 +05:30
lohit
2aa7d26a89
add collection and folder data to exported bruno collection json ( #2560 )
...
* add collection and folder data to exported bruno collection json
* folder root data order
2024-07-04 13:18:40 +05:30
Anoop M D
45ff36d394
Folder level Headers, Scripts and Tests ( #2529 )
...
* [Feature] : Settings on folder level (#1334 )
* feat(folder_settings): enable settings tab from folder, currently not using folder.bru
* feat(folder_settings): read and write in folder settings only in headers, ignore folder.bru file il requests list
* feat(folder_settings): merge collection and folder settings when sending network request
* feat(folder_settings): remove console, testing headers merging working fine
* feat(folder_settings): add missing endl for prettier check, remove redundant imports
---------
Co-authored-by: Baptiste POULAIN <baptistepoulain@MAC882.local>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat: folder level scripts and tests
* feat: folder level variables (#2530 )
---------
Co-authored-by: Baptiste Poulain <64689165+bpoulaindev@users.noreply.github.com>
Co-authored-by: Baptiste POULAIN <baptistepoulain@MAC882.local>
Co-authored-by: lohit <lohit.jiddimani@gmail.com>
2024-07-01 12:52:56 +05:30
Vincent Agnano
fc626041e2
Fixed English grammar/typo ( #2493 )
2024-06-21 11:32:45 +05:30
lohit
ca22ad06df
update interpolate function in bruno js ( #2479 )
...
* update interpolate function in bruno js
* removeed handlebars import, updated validations
* removed handlebars import
2024-06-21 11:15:23 +05:30
lohit
5259c5fb4a
Feat/client cert types ( #2482 )
...
* feat: pfx/cert client certificates
* ui updates
* file tooltip
* feat: updated client cert logic
* feat: updated validations
* const to let
* throw error incase of invalid file paths
* fix htmlFor label
* updated cli error messages
2024-06-21 11:13:52 +05:30
lohit
b031e1f009
add decomment step in a try catch block ( #2485 )
...
* add decomment step in a try catch block
* request params validation - fix unit tests
2024-06-21 10:45:12 +05:30
Antti Sonkeri
9c11e27d1c
fix: decomment not working in json body ( #1819 )
...
Request body json was not decommented if json parsing fails, which
would happen if variables are not quoted.
Fixes usebruno#888
2024-06-19 16:18:36 +05:30
slowjoe007
b01f2e0c5f
feature: Augment default truststore by default, optionally limit to custom CA certs ( #2057 )
...
* feat: Allow default truststore extension on bru CLI
* feat: augment default truststore by default, optionally limit to custom CA certs
* feat: augment default truststore by default, optionally limit to custom CA certs
* feat: Allow default truststore extension on bru CLI
* feat: augment default truststore by default, optionally limit to custom CA certs
2024-06-17 16:28:39 +05:30
Anoop M D
9b382fa091
Revert "fix: Move output to stderr #2123 ( #2125 )" ( #2418 )
...
This reverts commit 1b4d9b8f6e
.
2024-06-05 20:37:15 +05:30
Johannes Zorn
1b4d9b8f6e
fix: Move output to stderr #2123 ( #2125 )
...
This change moves informational command outputs from console.log (prints on stdout) to console.warn/console.error (prints on stderr)
to enable stdout processing in pipelines.
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-06-05 20:35:28 +05:30
lohit
f9b33dde38
chore: fix cli tests ( #2412 )
...
* fix tests for bruno-electron & bruno-lang
* chore: fix validatioon breaking cli tests
2024-06-05 20:31:31 +05:30
Johannes Zorn
811a6e6034
fix( #2122 ): add specific error status codes ( #2126 )
...
* fix: add specific error status codes #2122
This change adds specific exit status codes to identify different problems programatically
* feat(#2122 ): Document the cli exit status codes
* Update packages/bruno-cli/src/constants.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/constants.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
* Update packages/bruno-cli/src/commands/run.js
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
---------
Co-authored-by: Andreas Siegel <mail@andreassiegel.de>
2024-06-05 20:29:59 +05:30
lohit
470d162fb6
fix/path param ( #2388 )
...
* fix(#484 ): minor code fixes
* code fixes
* fixes for generateCode
* var change
* pr review fixes
2024-05-30 23:09:34 +05:30
Sanjai Kumar
abfd14a306
Feat/improved path params ( #2357 )
...
* feat: path parameters (#484 )
* add path parameters on bruno-app
* add path parameters on bruno-cli
* fix bruno-schema testing
* fix generate request code not replace path parameter value
---------
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat: Refactor request parameter handling
- Update prepare-request.js to filter and rename 'paths' to 'params' with type 'path'
- Remove 'paths' from export.js and interpolate-vars.js
- Update bru.js to use 'params' instead of 'path'
- Update requestSchema in index.js to use 'keyValueWithTypeSchema' for 'params'
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat: Refactor request parameter handling
* refactor: changes form the review
* refactor: Refactor transformItemsInCollection handling
* refactor: Refactor improved export/import functionalities
* refactor: Remove console.log statement in bruToJson.js
---------
Co-authored-by: game5413 <37659721+game5413@users.noreply.github.com>
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
2024-05-30 15:49:14 +05:30
Anoop M D
411289daa8
chore: bumped cli version
2024-05-06 16:24:00 +05:30
Mateusz Pietryga
60cf012cbe
Fix: CLI Test Runner ignores auth:"inherit" in requests ( #2206 ) ( #2243 )
...
#1667 - None means None, but inherit means inherit
2024-05-06 16:18:53 +05:30
Anoop M D
2569a1389d
feat( #1667 ): None means None
2024-04-29 19:40:40 +05:30
Anoop M D
16861c9889
chore: bumped versions
2024-04-22 23:41:14 +05:30
j-lebek
17dac6be67
Fix typo in synopsis ( #1787 )
2024-04-06 06:10:06 +05:30
Anoop M D
2cd0e065bd
chore: updated lib versions
2024-03-13 03:05:29 +05:30
Anoop M D
dbe41e7f59
fix( #1731 ): fix aws sdk issue
2024-03-12 23:53:14 +05:30
Scott LaPlante
3ee76067fb
CLI fixes for aws and environment modifications ( #1713 )
...
* Interpolate awsv4 values to support them including templated values.
Closes #1508
* change to let to allow for rewrite; rename to envVariables for consistency
* When running via CLI, preserve changes to collection variables and
environment variables.
Closes #1255
* Closes #1255 - set well known variable name on environment
* Revert "When running via CLI, preserve changes to collection variables and"
This reverts commit 7c94c9ec19
.
* Revert "change to let to allow for rewrite; rename to envVariables for consistency"
This reverts commit 9320b8faf0
.
---------
Co-authored-by: Scott LaPlante <scott.laplante@flueid.com>
2024-03-12 23:20:37 +05:30
patest-dev
ee441d2ab6
Fix bruno-cli readme changelog link ( #1770 )
2024-03-12 23:17:47 +05:30
Grant Forsythe
1fca217046
fix: broken link in readme ( #1737 )
...
* fix: broken link in readme
* fix: replace relative link with an absolute link
2024-03-11 17:46:14 +05:30
trusta
5ec2475f31
feat( #1659 ): add html reporter for cli ( #1660 )
2024-03-11 02:13:25 +05:30
Sanjai Kumar
e2d1f52993
Fix/json with bigints ( #1710 )
...
* fix(#1689 ): JSON with Bigints support
* added Jsonbigint support for cli
2024-03-04 15:32:35 +05:30