-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Milestone
Description
Current testing exists for output plugins where the format of the payload to be sent can be tested. e.g: under specific config properties and certain payload, the formatted callback helps to validate expected behaviors when preparing a payload, here is an example:
.test_formatter.callback = elasticsearch_format,We miss a way to test behaviors for HTTP responses, e.g:
- if HTTP response is 400 what is our return code ?
- if the HTTP response payload is a JSON document, how do we process it ?
An idea would be to implement something like:
.test_http_response.callback = something,the prototype of something still needs to be defined, but would be good to start the discussion to cover majority of use cases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels