We have migrated/refactored one of our micro-service from request per thread model (sync) to Reactive (async). Development is complete and started stress testing the reactive service. We are looking for the help on how to perform the activity for reactive APIs
What we have done?
Our service makes HTTP call for an external service. During our stress test, we mocked the external service call. Instead of making a network call, we introduced delay using Thread.sleep()
method and returning mock response in our service component(where we make actual HTTP call to the external service).
With this approach, we are observing our reactive service is getting crashed even with very small requests volume. Just to add, we follow similar approach while testing other sync services (request per thread model).
What can we try next?