One thing Touchstone is great at, is setting up a test for a flow that spans multiple services. Drop a rabbit message to service-a for input, service-a talks to service-b, assert that service-b sends a rabbit message for output.
If the flow involves REST calls to both services, however, we are limited to hitting one service via self.service_url; so for instance you could not POST to service-a for input and then GET service-b for output (to assert on) in the same test.
This could be made possible with a self.services hashmap, self.services['service-name']
One thing Touchstone is great at, is setting up a test for a flow that spans multiple services. Drop a rabbit message to service-a for input, service-a talks to service-b, assert that service-b sends a rabbit message for output.
If the flow involves REST calls to both services, however, we are limited to hitting one service via
self.service_url
; so for instance you could not POST to service-a for input and then GET service-b for output (to assert on) in the same test.This could be made possible with a
self.services
hashmap,self.services['service-name']