schwarzland/Wait for Response Action
Checks a URL and expects a response within a defined time and with a defined status.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| url | The URL to be checked | yes | https://www.google.com |
| method | Allowed methods are GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS | no | GET |
| headers | Request Headers in JSON-Format | no | "" |
| body | Body of the Request | no | "" |
| body-reading-method | Specifies how the response body should be interpreted. Possible values are JSON, TEXT. If the method is not specified, the body is not read. | no | "" |
| http-status | The expected http status | no | 200 |
| timeout | The timeout (at least 500 milliseconds) determines when the entire query should be aborted. | no | 5000 |
| single-fetch-timeout | The timeout (at least 200 milliseconds) determines when the single fetch should be aborted. | no | 1000 |
| waiting-time | The waiting time (at least 200 milliseconds) after a fetch if the desired status has not yet been reached. | no | 1000 |
| stop-on-error | If TRUE, the action is aborted on timeout-error. | no | false |
Outputs
| name | description |
|---|---|
| duration | The time it took to complete the request. |
| http-status | HTTP-Status |
| response | The service's response |
| result | query result (OK, timeout, maxLoop) |