Skip to content

Conversation

@sudo-suhas
Copy link
Contributor

  • Add script global function execute_request for being able to execute 1 or more HTTP requests using the request configuration options similar to recipe config.
  • Instead of only providing the response body to the script, provide the {status_code, header, body}.
  • Allow configuration of concurrency to control the number of concurrent HTTP requests made from inside the script.

BREAKING CHANGE: The response provided to the script in HTTP extractor has the {status_code, header, body} instead of just the response body.

- Add script global function `execute_request` for being able to execute
  1 or more HTTP requests using the request configuration options
  similar to recipe config.
- Instead of only providing the response body to the script, provide the
  {status_code, header, body}.
- Allow configuration of concurrency to control the number of concurrent
  HTTP requests made from inside the script.

BREAKING CHANGE: The response provided to the script in HTTP extractor
has the {status_code, header, body} instead of just the response body.
@sudo-suhas sudo-suhas requested a review from haveiss January 27, 2023 11:23
@sudo-suhas sudo-suhas merged commit 2309f9f into main Jan 30, 2023
@sudo-suhas sudo-suhas deleted the extend-http-extractor branch January 30, 2023 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants