header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
November 22, 2008, 10:59:16 am
Username: Password:
Login with username, password and session length

Forgot your password?
 
How to stop DataSource Loop when LoadTest limit is reached
Welcome, Guest. Please login or register.
November 22, 2008, 10:59:16 am
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  How to stop DataSource Loop when LoadTest limit is reached
« previous next »
Pages: [1] Print
Author Topic: How to stop DataSource Loop when LoadTest limit is reached  (Read 317 times)
Rene Hansen
Newbie
*
Posts: 5


« on: February 01, 2008, 11:34:08 am »

Hi everyone,

I have done a load test plan which contains a DataSource loop.
Also I have set a default limit on the test plan (measured in seconds).

The DataSource loop loops over a file that is big enough to test the system for several minutes.

When I start the load test, I have set a limit on 20 seconds, and the test runs showing an encreasing progress bar that reaches 100% after 20 seconds. However, the test continues to run - requests continue to be send to the targeted test system and results are received and measured by the load test.

I assume this is based on a logic that allows any thread running to finish gracefully even if the limit has been reached - but as the threat doesn't stop until the loop has read all the data in the DataSource, it will practically ignore the limit totally and run until all lines in the DataSource has been read.

Is there any way of enforcing the limit of the load test? The solution should also work using the loadtestrunner when the -m parameter is used.

P.S. Have attached a ScreenShot of the load test - pictures can explain more then a 1000 words Cheesy The test in the screenshot ran for about 5min before stopping.
Logged

Teaching old dogs new tricks daily!
omatzura
Administrator
Hero Member
*****
Posts: 1,425


« Reply #1 on: February 01, 2008, 11:41:53 am »

Hi!

there is a "Cancel Running" option in the LoadTest options dialog which should do what you want.. have you tried that?

regards!

/Ole
eviware.com
Logged
Rene Hansen
Newbie
*
Posts: 5


« Reply #2 on: February 01, 2008, 12:59:29 pm »

Doh! Missed that one  Embarrassed

But yeah, it does excactly what I want!

Thanks for the help - really appreciate it.
Logged

Teaching old dogs new tricks daily!
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header