Pooja Belaramani
2852c07ec7
feat: support tv4 as a inbuilt lib ( #4589 )
2025-05-07 17:44:29 +05:30
anusree-bruno
f0d1e6936e
Include globalEnvironmentVariables in runPostResponseVars result
2025-04-17 16:18:08 +05:30
Andreas Wirth
9a21eec1b9
Bugfix: Add cheerio and xml2js modules to post-response scripts ( #4516 )
...
* Bugfix: Add cheerio and xml2js modules to post-response scripts
* chore: improved cheerio and xml2js test
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2025-04-17 01:31:53 +05:30
Carlos Florêncio
0591530d44
add scripts context to response scripts
2025-04-02 13:22:21 +05:30
sanish-bruno
592679538b
Fix: res.setBody fails for Object in Developer-mode
...
vm2 returns a recursive Proxy for accessing the return value which
cannot be serialized for IPC using `structuredClone`.
Co-authored-by: ramki-bruno <ramki@usebruno.com >
2025-04-02 13:18:58 +05:30
lohxt1
eead96ca26
Merge remote-tracking branch 'upstream/main' into feat/oauth2-improvements
2025-03-16 14:02:12 +05:30
lohit
9bde3c44f7
filename support for requests and folders ( #4111 )
2025-03-14 20:07:33 +05:30
Pragadesh-45
2385c4d5c1
feat: add statusText support to BrunoResponse on safe mode
...
Enhance BrunoResponse with statusText functionality:
- Added `getStatusText()` method to BrunoResponse class
- Updated QuickJS shim to support statusText
2025-03-13 01:37:10 +05:30
Pragadesh-45
6a85635c49
Fix: Inconsistent JSON parsing and formatting in res.body and Res-preview ( #4103 )
...
* Fix: Revert selective JSON parsing where string response is not parsed
- Revert "Merge pull request #3706 from Pragadesh-45/fix/response-format-updates"
- e897dc1eb0
- Revert "Merge pull request #3676 from pooja-bruno/fix/string-json-response"
- 1f2bee1f90
* Fix: Revert interpreting Assert RHS-value wrapped in quotes literally
- Revert "Merge pull request #3806 from Pragadesh-45/fix/handle-assert-results"
- 63d3cb380d
- Revert "Merge pull request #3805 from Pragadesh-45/fix/handle-assert-results"
- 6abd063749
* Fix: Inconsistent JSON formatting in preview when encoded value is a string
* Fix: Prettify JSON for Res-preview without parsing to avoid JS specific roundings
* Fix(testbench): req.body is always Buffer after the binary req body related changes
* Added `/api/echo/custom` where response can be configured using request itself
* Added tests for validating Assert and Response-preview
Co-authored-by: Pragadesh-45 <temporaryg7904@gmail.com >
* Handle char-encoding in Response-preview and added more tests
* Updated API endpoint in tests to use httpfaker api
* QuickJS (Safe Mode) exec logic to handle template literals similar to Developer Mode
* Safe Mode bru.runRequest to return statusText similar to Developer Mode
---------
Co-authored-by: ramki-bruno <ramki@usebruno.com >
Co-authored-by: Anoop M D <anoop.md1421@gmail.com >
2025-03-13 00:49:57 +05:30
Anoop M D
4c1765e9f9
feat( #2896 ): add support for cheerio and xml2json as inbuilt library
2025-02-10 18:55:20 +05:30
Pragadesh-45
16e27d2ca4
feat: make BrunoResponse callable to access body data using expressions fixes ( #481 ) ( #3710 )
...
* feat: make `BrunoResponse` callable to access body data using expressions
2025-01-28 14:57:00 +05:30
lohit
f38c7ae03a
oauth2 ui/ux improvements ( #3868 )
2025-01-23 22:06:50 +05:30
Anoop M D
8f754142c7
Merge branch 'pr-2077' into feat/oauth2-improvements
2025-01-23 16:45:51 +05:30
Pragadesh-45
cf2cb0736e
fix: remove commented-out removeQuotes() function
2025-01-15 20:42:02 +05:30
Pragadesh-45
dbf1cad124
fix: remove removeQuotes()
2025-01-15 19:57:06 +05:30
lohit
14ecc09cde
Merge pull request #3719 from lohxt1/feat/bru-runner-fns
...
feat: bru util fns -- skipRequest, stopExecution, getTestResults, getAssertionResults, runRequest
2025-01-02 18:02:42 +05:30
lohxt1
99302e3a1d
fix: pr review updates
2025-01-02 17:54:29 +05:30
lohxt1
7b86febc87
feat: summarize test and assertion results for getTestResults and getAssertionResults fns
2025-01-01 18:06:13 +05:30
lohxt1
cd722a2bd9
feat: bru.runner.setNextRequest
2025-01-01 17:12:57 +05:30
lohxt1
75a9959d47
feat: add quick-js shims for bru runner fns
2025-01-01 15:37:42 +05:30
lohxt1
0d2b449b27
chore: aikido -- library version upgrades
2024-12-30 16:26:38 +05:30
lohxt1
f72d643e02
feat: updates
2024-12-18 18:57:23 +05:30
lohit
380047e025
Merge pull request #1043 from nelup20/bugfix/521-error_accessing_response_property_with_context_as_key
...
fix(#521 ): Allow "context" as the name of a key/var in a JS expression
2024-12-15 20:01:33 +05:30
lohit
22612a7dbe
_BrunoNewFunctionInnerContext to __bruno__functionInnerContext
2024-12-15 20:00:13 +05:30
lohit
d37e9aaafa
Merge pull request #3522 from sanjai0py/feat/add-isNotEmpty-assertion
...
feat: add 'isNotEmpty' assertion operator
2024-12-15 17:28:23 +05:30
lohit
5a9bda2a0f
use to.not.be.empty
2024-12-15 17:27:47 +05:30
Sanjai Kumar
4a4481a26f
feat: add 'isNotEmpty' assertion operator
2024-11-21 12:00:25 +05:30
lohxt1
6442e3ceca
feat: deleteEnvVar safe mode shim
2024-11-20 18:29:19 +05:30
Pragadesh-45
23c22a96bc
Feat/import translation for deprecated pm import ( #3388 )
...
* feat: add translation for pm `tests[]`
* feat: add bru.deleteEnvVar function and update translations
---------
Co-authored-by: Pragadesh-45 <temporary7904@gmail.com >
2024-11-20 17:58:59 +05:30
lohit
d70d4a482b
feat:add res() function shim to safe-mode ( #3345 )
2024-10-24 14:59:54 +05:30
lohit
cc8f3de8be
feat: upgrade libraries for dependabot alerts ( #3300 )
...
* feat: upgrade libraries and code cleanup
2024-10-17 11:04:47 +05:30
lohit
3ef7df57e2
fix( #3287 ): res.setbody safe mode ( #3299 )
2024-10-14 12:27:12 +05:30
lohit
90834b8c7d
Merge branch 'main' into feat/global-environments
2024-10-08 10:26:13 +05:30
Pragadesh-45
5c5e3d18fc
add logic to check for key existence in post response ( #3249 )
2024-10-04 16:53:35 +05:30
lohxt1
5afafb5944
feat: updates
2024-10-03 11:52:00 +05:30
lohit
6bc8acd1e1
feat: bru fns update ( #3231 )
2024-10-01 23:45:05 +05:30
lohxt1
a8fce54e97
feat: global env var highlight and interpolation
2024-09-30 11:48:30 +05:30
lohit
25f43f12c7
feat: request execution mode ( #3200 )
2024-09-26 15:54:20 +05:30
Mateusz Pietryga
4afcd44216
feat: OAuth2 - Include resolved authorization details in req object to be usable by scripts
...
The new variable 'credentials' is now available in 'req' object. It is added automatically during request preparation if oauth2 method is used and is value is either evaluated or retrieved from collection oauth2 cache.
2024-09-23 21:59:16 +02:00
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
3cb3f8094f
chore: disableParsingResponseJson shim fn in safe mode ( #3110 )
2024-09-16 17:13:19 +05:30
Shishir Karanth
238c790f9b
fix: handle functions while marshalling ( #3102 )
...
* fix: handle functions while marshalling
* fix: js style
2024-09-16 16:40:29 +05:30
Sergei Karetnikov
81d8c30d84
feat(usebruno#2441): Set response body function ( #3076 )
2024-09-13 11:48:05 +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
9e5148f032
fix( #2767 ): Fix serilization issues of bigint in json body ( #2773 )
...
Fix serilization issues of bigint in json body
---------
Co-authored-by: lohit <lohit.jiddimani@gmail.com >
2024-08-27 14:12:56 +05:30
lohit
b121afe7bb
feat: revert await keyword for test ( #2933 )
...
feat: revert await keyword for test
2024-08-27 11:41:09 +05:30
lohit
4bdbfb5c0c
fix: safe mode validations ( #2912 )
2024-08-24 14:29:43 +05:30
lohit
5f0e6f13eb
fix: quickjs vm handle errors ( #2906 )
...
* fix: quickjs vm handle errors
2024-08-23 18:16:43 +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
lohit
4aff61b665
fix: getRequestVar shim, boolean values in vm ( #2887 )
2024-08-22 10:10:15 +05:30