Ask a Question

Chained MicroServices Testing in ReadyAPI - has anyone done this before?

richie
Community Hero

Chained MicroServices Testing in ReadyAPI - has anyone done this before?

Hey,

 

I'm on a true microservices project on this particular job and they want me to use PACT, however - this just verifies the contract between microservices and doesnt verify anything external to the contract between 2 microservices (so won't cover off any testing of database writes, etc.)

 

Take the example in the image:

richie_0-1655825561729.png

 

Now I've done API Gateway to MicroService testing before, but I haven't done the MicroService to MicroService to Microservice before

 

OR another example:

 

endpointA --> endpointB --> endpointC, endpointC responds back to endpointB, which then sends the amalgamated response back to endpointA

 

Has anyone does this sort of testing in ReadyAPI before?  They're giving me the option of picking the tool I want to use - but I've only done this sort of testing using RESTassured with WireMock.

 

Does anyone know how to setup the above chained microservice scenario in ReadyAPI?  (i.e. Submit POST from A to B, B calls C, C sends response to B, which then sends amalgated response back to A)??  

 

I've no idea how I could configure ReadyAPI to cover off the above scenario, so would welcome anybody's help at all on this!

 

Cheers!

 

Rich

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: