cancel
Showing results for 
Search instead for 
Did you mean: 

End Load Test when data source files have all been sent (SOAP Project)

SOLVED
Highlighted
Occasional Contributor

End Load Test when data source files have all been sent (SOAP Project)

Good day,

 

I'm currently working on a simple load test case that consists of the following steps:

 

1. Data Source: Folder (containing .xml files)

2. SOAP Request 

3. Data Source Loop (to iterate through and send each file found in the data source folder)

4. Assertions.

 

In an example scenario where I have 250 .xml files in a folder and 10 virtual users sending SOAP requests, I would like the load test to end as soon as those 250 .xml files have been sent / have responses. Would this be possible?

 

Currently it seems like I am only able to set a time limit (example 5 mins) and it won't stop trying to contact the service whether it's sent all files or not.

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: End Load Test when data source files have all been sent (SOAP Project)

Hi Bernard,

 

You can also limiting a load test by the number of executed targets: https://support.smartbear.com/readyapi/docs/loadui/configure/test-duration.html 

 

Also, please pay attention to the Load Testing DataSource test step options: 

https://support.smartbear.com/readyapi/docs/loadui/configure/test-case.html



 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!

View solution in original post

1 REPLY 1
Moderator

Re: End Load Test when data source files have all been sent (SOAP Project)

Hi Bernard,

 

You can also limiting a load test by the number of executed targets: https://support.smartbear.com/readyapi/docs/loadui/configure/test-duration.html 

 

Also, please pay attention to the Load Testing DataSource test step options: 

https://support.smartbear.com/readyapi/docs/loadui/configure/test-case.html



 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!

View solution in original post