What exactly is 'Created Virtual Users' in Load Test

6 posts, 0 answers
  1. Jasdev
    Jasdev avatar
    5 posts
    Member since:
    Jul 2014

    Posted 13 Aug 2014 Link to this post


    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. 
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 14 Aug 2014 Link to this post

    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!
  3. Jasdev
    Jasdev avatar
    5 posts
    Member since:
    Jul 2014

    Posted 14 Aug 2014 in reply to Cody Link to this post

    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. 
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 14 Aug 2014 Link to this post

    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!
  5. Shelley
    Shelley avatar
    2 posts
    Member since:
    May 2014

    Posted 15 Jun 2015 Link to this post

    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? 
  6. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 17 Jun 2015 Link to this post

    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!
Back to Top