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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.