# Advice for testing data micro services?

**URL:** <https://club.ministryoftesting.com/t/advice-for-testing-data-micro-services/12150>\
**Category:** Archive\
**Created:** [13 December 2017 14:14 UTC](https://club.ministryoftesting.com/t/advice-for-testing-data-micro-services/12150 "2017-12-13T14:14:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![karamu](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@karamu](https://club.ministryoftesting.com/u/karamu)\
**Post date:** [13 December 2017 14:14 UTC](https://club.ministryoftesting.com/t/advice-for-testing-data-micro-services/12150/1 "2017-12-13T14:14:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![wojciech](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/wojciech/32/319_2.png) [@wojciech](https://club.ministryoftesting.com/u/wojciech)\
**Post date:** [13 December 2017 17:48 UTC](https://club.ministryoftesting.com/t/advice-for-testing-data-micro-services/12150/2 "2017-12-13T17:48:39Z")

</div>

There are several tools you can use to simulate a microservice returning errors, that require little or no coding experience.

Here is [an introduction to the subject for software testers for HTTP mocking and service virtualization](https://www.youtube.com/watch?v=wIny09HLuwQ).

Have a look [at this tool comparison](https://en.wikipedia.org/wiki/Comparison_of_API_simulation_tools), is has links to quick start guides. SoapUI MockServer is on that list as well.

P.S.  
If you are a Pro Subscriber, have have a look at [this masterclass which will show you how to simulate error messages](https://dojo.ministryoftesting.com/lessons/api-mocking-and-service-virtualization-explained-with-wojciech-bulaty) and [this article](https://dojo.ministryoftesting.com/lessons/stubbing-service-virtualization-explained).

---

<div class="post-metadata">

**Author:** ![karamu](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@karamu](https://club.ministryoftesting.com/u/karamu)\
**Post date:** [14 December 2017 10:01 UTC](https://club.ministryoftesting.com/t/advice-for-testing-data-micro-services/12150/3 "2017-12-14T10:01:06Z")

</div>

Thanks for that - I will take a look at the links you have suggested. Unfortunately I am not a pro subscriber… I wonder if I could persuade my company to pick up the bill for it…??

---

<div class="post-metadata">

**Author:** ![wojciech](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/wojciech/32/319_2.png) [@wojciech](https://club.ministryoftesting.com/u/wojciech)\
**Post date:** [14 December 2017 11:04 UTC](https://club.ministryoftesting.com/t/advice-for-testing-data-micro-services/12150/4 "2017-12-14T11:04:59Z")

</div>

> [@karamu](#):
>
> I wonder if I could persuade my company to pick up the bill for it…??

I would drop @rosiesherry a message and ask what other people typically do in those situations. I do not see a reason why they would not do it, there is a lot of great content available so they have a good return on investment, and the price is very reasonable.

---

<div class="post-metadata">

**Author:** ![rosie](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/rosie/32/7719_2.png) [@rosie](https://club.ministryoftesting.com/u/rosie)\
**Post date:** [14 December 2017 11:24 UTC](https://club.ministryoftesting.com/t/advice-for-testing-data-micro-services/12150/5 "2017-12-14T11:24:04Z")

</div>

I’d say most of Dojo subscriptions are actually paid by their companies. It’s a really small price to pay for all the learning available as you will get access to all the content.

---

<div class="post-metadata">

**Author:** ![karamu](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@karamu](https://club.ministryoftesting.com/u/karamu)\
**Post date:** [14 December 2017 13:48 UTC](https://club.ministryoftesting.com/t/advice-for-testing-data-micro-services/12150/6 "2017-12-14T13:48:42Z")

</div>

Thanks - I will look into it.
