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

Load Test : Just want to get Total Response Time per User

4 Answers 350 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jasdev
Top achievements
Rank 1
Jasdev asked on 08 Aug 2014, 07:00 PM
Hi, 

My scenario is that I have 5 users (data driven)  doing a simple log-in and log-out over 1 minute. I'd like to know the *total response time for each user*. Currently I get an average of each transaction/steps which is great for taking a diving into the micro but right now I need a macro view of how long does it take for each user.

I've looked at the Perf Monitors for my local machine (Win 8) and there are options for Network adapters etc but none has the simple metric I'm looking for. 

A little unrelated but its the same for Performance test too - it gives a breakdown of the steps but... I think there ought to be a 'Total / Total Time Taken /  etc' of sorts. 

Thanks. 

4 Answers, 1 is accepted

Sort by
0
Jasdev
Top achievements
Rank 1
answered on 08 Aug 2014, 07:34 PM
I've managed to run several tests, this time rectifying the ramp up/users (see the chart its now linear). I ran 10 Users/ 1 min & 5 Users/ 1 min.

So I think I'm getting there . I assume the Average Response Time IS = Total Response Time Per User / # of Users. The manual (http://docs.telerik.com/teststudio/user-guide/load-testing/load-analyzing-results.aspx )says "Average Response Time : Over the life of the test, the average of how long each user response took to be received. Time is measured from when the request was sent to when the end of the response was received.

I should be getting an average of 20 Seconds (or 20,000 ms) per user but according to Test Studio its 155 and 197 ms respectively. 

Again, I'd just like to know how long did it take each user, to log-in and log-out over a minute. 

0
Cody
Telerik team
answered on 13 Aug 2014, 06:28 PM
Hello,

I'd like to know the *total response time for each user*.

I am sorry but the results for our load test are not broken down by user. You can only get aggregate data by URL or status code.

The Average Response Time displayed in the graph is actually Total Response Time for all HTTP requests sent / # of HTTP requests sent. It's not easily divided up into users because one virtual user may have sent 15 requests while another virtual user only sent 10 requests. Also this is per sample. If your sampling rate is 5 seconds (which it appears to be in your screen shots) then it's the calculated average response time for the last 5 seconds of the test.

It would get even more complicated if you run a load test with multiple user profiles. Then you will have an extreme mix of HTTP requests being sent each with their own delay in the response.

Again, I'd just like to know how long did it take each user, to log-in and log-out over a minute

I think you'll get closer to the information you seek using a Performance test. Yes, you're right you get a lot of information about how long each test step took, but at the bottom is a total time to run the test. A performance test only runs one user and also uses a real browser. This is different from a load test which is sending pre-recorded HTTP requests to the web server. No browser is used.

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, 01:15 AM
Thanks Cody. I managed to get the total time (screenshot attached) from the performance test feature. 

As for the response time issue, would it be possible to request this feature for a future release? 

Thanks again. 
0
Cody
Telerik team
answered on 14 Aug 2014, 08:37 PM
Hello,

I am glad you found that!

Yes you can request a feature anytime. I would like to suggest that you go ahead and create it yourself, using your own words (instead of me interpreting it and creating one for you) using our public feedback portal. We listen to all requests and prioritize those that get the most votes and fit within our future plans for the product.

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
Jasdev
Top achievements
Rank 1
Cody
Telerik team
Share this question
or