I am new to microservices and I have some issue about testing chain of services. my application developed in spring boot and contains three services as below (each service is a independent spring boot application):
user ask a resource from service A, service A process the request then send it to service B,service B process the request then send to service C. service C finally send a request to third party and as the flow returns response to user.
My problem is to test this flow (chain of services). I know there is spring cloud contract for this requirement.but as I understood, spring cloud contract test just two services(producer and consumer,here service A and B for example). also I can deploy this services in staging environment and test this chain, but I don't want to do this.
Is there any way to perform test in this chain?
Aucun commentaire:
Enregistrer un commentaire