End-to-end testing of external services



I need to verify order data in two external systems to the app. This is how they setup. Frontend: fruit ordering system. user is presented with order number on checkout. External system 1: get data using the order number from the front end system to hit the REST API. Communicates with external system 2 using SOAP API. The JSON body includes the xml request/response to/from system 2. The xml response includes the id needed to call the soap api in system2. External system 2: SOAP API get data using the id in the xml response included in the JSON of system 1.


Thought I would use rails/rspec/capybara for the frontend piece. Just not sure how to tie all these things together. Any suggestions or examples I can take a look at?


No comments:

Post a Comment