Hello again,
I have another question. Is it possible to modify WebSocket stubs from StubbyClient at runtime?
I want to start Stubby using StubbyClient in Java and dynamically change the request and response for a WebSocket endpoint in each integration test. I’ve been searching through the code and documentation but haven’t found a way to do this.
It is mandatory for me to achieve this in Java. The alternative would be to restart Jetty and modify a .json file, but that is a low-level solution that I would prefer to avoid because it requieres and additional handler above Stubby4j, which is not desired in my case (but possible).
Thanks!
Hello again,
I have another question. Is it possible to modify WebSocket stubs from StubbyClient at runtime?
I want to start Stubby using StubbyClient in Java and dynamically change the request and response for a WebSocket endpoint in each integration test. I’ve been searching through the code and documentation but haven’t found a way to do this.
It is mandatory for me to achieve this in Java. The alternative would be to restart Jetty and modify a .json file, but that is a low-level solution that I would prefer to avoid because it requieres and additional handler above Stubby4j, which is not desired in my case (but possible).
Thanks!