The development team I am working with is currently building some data services which interact behind the scenes for the website functionality we are ultimately working to deliver.
Basically, I have a story where I want to test one service calling another and receiving an error from the second service when doing so - the story is concerned with the error handing process of the first service.
I am looking for a way to simulate this error response from the second service and from some research it looks like Soapui mockservices could provide what I am looking for. I think I should be able to create a mockservice in Soapui and set it up to return an error response when the first service attempts to call it?
However, I haven’t been able to source useful documentation helping me out with the how to do it. Tutorials I have found seem to be either very basic or overly technical (obviously written by / for devs).
Any ideas from a tester’s point of view would be most welcome - I am comfortable with a bit of coding but not very knowledgeable in the area.