PeterKlim
12 years agoContributor
Assertion for Load Test
In SoapUI Pro, I created a test that I am using as a load test. I have it set up so that the DataSource is a "Directory". In that directory, I have a number of XML files. Each XML is used as a request. I created an assertion to look for a string anywhere in the response. I tested it for a single request by clicking the green run button in the "HTTP Test Request" - it works. I changed the string to see if it fails - it does. So now I know it will catch failures too. I set it back to the correct string. Before the assertion, I ran the load test to do multiple requests and got no failures. But after adding the assertion, I get failures. My co-worker is telling me assertions in SoapUI Pro are only usuable when running as a functional test, not as a Load Test. Is this true? Or do I need to do something else to get it to work?