Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to do non-blocking HTTP requests from Ruuter #318

Open
RayDNoper opened this issue Oct 16, 2024 · 0 comments
Open

Add functionality to do non-blocking HTTP requests from Ruuter #318

RayDNoper opened this issue Oct 16, 2024 · 0 comments

Comments

@RayDNoper
Copy link
Collaborator

AS A Service Developer
I WANT TO create HTTP requests to services that could block execution
SO THAT these HTTP requests would not delay DSL execution (or even crash with timeout)

If HTTP step is defined in Ruuter without storing the response to result, the request is done immediately and it does not block current DSL execution thread.

Examples of blocking and non-blocking requests:

http_request_nonblocking:
  call: http.post
  args:
    url: http://mock-server/blocking_endpoint


http_request_blocking:
  call: http.post
  args:
    url: http://mock-server/blocking_endpoint
  result: blocked
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

No branches or pull requests

1 participant