3 ms·
So I’ve been looking at these sorts of tools recently as am building webhooks into my project. One common theme is that none of them allow you to change/add the
by m4tthumphrey 1y ago
So I’ve been looking at these sorts of tools recently as am building webhooks into my project. One common theme is that none of them allow you to change/add the response headers; only the body.
Otherwise it looks good! If you add the above I will have a reason to stop looking!
- muliswilliam 1y agoThank you for the feedback. I will add a feature to customize response headers today. Any other features you would like to see in the app?
- m4tthumphrey 1y agoHonestly no… testing them needn’t be a complex process! There is another service that allows for scripting which I’m sure some people love, but I just need somewhere I can set the response.
- RUnconcerned 1y agoI'm pretty sure Wiremock (https://wiremock.org https://wiremock.org) lets you configure both the response body and headers.
- ffsm8 1y agoThat capability is actually not that old, and lots of people are gonna be on old versions because they're working on brownfield projects, hence...
- sethammons 1y agoWould love your feedback on a tool I am making that I think does exactly that. Still alpha, but would appreciate any feedback on if this solves your problem https://voodoocall.com/docs/ https://voodoocall.com/docs/ tl;dr: configure responses to your 3rd party http dependencies, matching against header or body or url, and returning a custom response, including headers. The best feature, I think, is that you can pass a header in that configures the response, so you can have tests that dynamically force response content/errors. That and allowing your integration tests to validate error paths and various states.
- muliswilliam 1y agoI added this feature to customize response headers. Please have a look if its what you had in mind. It is available only for logged in users when creating a new webhook or editing an existing one.