This is a migrated thread and some comments may be shown as answers.

What exactly is 'Created Virtual Users' in Load Test

5 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jasdev
Top achievements
Rank 1
Jasdev asked on 13 Aug 2014, 09:47 PM

I'm wondering what the difference between Current Virtual Users and Created Virtual Users. 

In the screenshot for a datadriven test for a simple login and logout (5000 unique user credentials, but my Virtual User is limited to 100 in the trial version), I ran for 2 minutes, ramping up from 1 to 2 users in 1 minute. 

I really don't get the Created Virtual Users (highlighted) - is this 143 users at that point in time in the graph? Even if I did the math for concurrent users divided by per unit of Time (in this case, over 120seconds/2mins) this does not add up. Confused. Documentation does not say much - http://docs.telerik.com/teststudio/user-guide/load-testing/load-analyzing-results.aspx 

Thanks. 

5 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 14 Aug 2014, 01:28 PM
Hello,

I am sorry our documentation is not clear enough on these points. I will try and clarify the difference for you as it is very significant.

Current Virtual Users - the number of virtual users currently active and hitting your web server that you have targeted for load testing.

Created Virtual Users - the total number of virtual users that have been started since the test began. Keep in mind that when one virtual user finishes running through all the steps of a user profile, it shuts down and new virtual user is created and starts the process over again. Thus you can set your load test to run with only one virtual user and still end up with thousands of created virtual users in the end. To give this a more concrete example: suppose you run a load test for 5 minutes with one virtual user and it takes about 15 seconds to run through the user profile. In this instance Current Virtual Users should start and stay at one the entire time. Created Virtual Users should slowly increment by one every 15 seconds until the end of the test in which it should be 5 minutes * 4 per minute = 20.

Does that clear up the confusion?

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Jasdev
Top achievements
Rank 1
answered on 14 Aug 2014, 04:24 PM
Cody, that's a solid answer. That should be in the documentation. You see I was familiar with Jmeter and there its called "Loop Count" that you can control. 

Anyway, you've been very helpful, thanks again. 
0
Cody
Telerik team
answered on 14 Aug 2014, 05:37 PM
Hello,

I'm glad I could help!

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Shelley
Top achievements
Rank 1
answered on 15 Jun 2015, 09:02 PM
In addition to this, is the Max (shown on analyze your results screen) the number of users that were created by the end of the test?  Why do you have average, median, min and max users? 
0
Cody
Telerik team
answered on 17 Jun 2015, 04:22 PM
Hello,

First we're calculating Average, Median, Min, Mas, for everything that gets graphed, not just Created Virtual Users. I admit that Average and Median and Min doesn't have much value for Created Virtual Users. It's far more valuable for things like Requests/second, but we're being consistent and doing the same calculations for everything that is graphed.

Yes, Max represents the total number of virtual users that were created over the entire life of the test. It's not how many completed, but how many the load agent started up while the test was running.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Jasdev
Top achievements
Rank 1
Answers by
Cody
Telerik team
Jasdev
Top achievements
Rank 1
Shelley
Top achievements
Rank 1
Share this question
or