add runRequest and runner utils functions to cli

~ add bru.runRequest support for cli
~ add bru.runner.skipRequest, bru.runner.stopExecution support for cli
This commit is contained in:
lohxt1
2025-01-23 17:54:04 +05:30
committed by Anoop M D
parent d13e4b3b54
commit ff5683f19f
10 changed files with 265 additions and 10 deletions

View File

@@ -0,0 +1,19 @@
meta {
name: 2
type: http
seq: 2
}
post {
url: https://echo.usebruno.com
body: none
auth: none
}
script:pre-request {
bru.runner.skipRequest();
}
script:post-response {
bru.setVar('bru.runner.skipRequest', false);
}