Custom http response status code
Allows a user to determine an http response code to exit from the wait. This is useful to test error scenarios where the dependencies of service may be down.
I'm really interested in this feature
Maybe I am a bit confused, but could you describe a scenario? If something is wrong, a non-2xx response code should be issued, anyway. So if the dependency responds with a non-2xx, you know there is something going on. Can you detail you use case a bit further -- I assume that may help in judging the PR. ;)
@mwmahlberg in my case I need this feature in order to assure an order while bringing up some GraphQL microservices. As all GraphQL operations should have an specific format (which can't be built with this tool), I can just get as answer errored response codes, different from a 2xx code. However that's enough to confirm the correct startup of the container.