I want to know what will be the best practice for testing a microservice(orchestrator) which is a part of Saga. I have multiple microservices of which one is an orchestrator like what happens in a Saga. The Orchestrator receives request over a REST channel and returns 202 and immediately start the Saga. I want to conduct a performance test once the orchestrator start the Saga and ends it. The request is stored in Database and there is a status column which keeps changing as it completes its various stages like New, processing, Done. Done or Failed is the final status.
Thanks
CodePudding user response:
CodePudding user response:
You can use wrk
or ab
to fire request to the REST orchestrator, and then watch the output.
I have done a similar performance test for Saga in go: https://en.dtm.pub/other/performance.html