Load testing data-driven TestCases concurrently with a shared distributed datasource

This recipe builds on the last two recipes to provide a distributed web service based shared data source that is both reliable under load and being service based, can also be shared across load tests running simultaneously on multiple SoapUI instances.

Getting ready

The approach is actually quite simple, but does require another service to publish the test invoice data in a thread-safe way. For this, we'll use an adapted version of the invoice v1 REST example from the Generating and developing a RESTFul web service stub test-first recipe of Chapter 1, Testing and Developing Web Service Stubs With SoapUI. The new implementation has the following main features:

Get SoapUI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.