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

This recipe builds on the first one to show a simple way to use the same test data shared between TestCases run by multiple threads. We might want to do this in case we want each row of the test data to be used only once. For example, it isn't always great to have multiple invoices created with the same details, as it creates duplicate invoice test data. The service under test is the same invoice v3 service as in the previous recipe.

Getting ready

This recipe can be done as part of the same project that was used in the last recipe. So if you haven't already done the first recipe, you can find its completed Project and TestSuite from the chapter 9 samples. You may also ...

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.