SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Response Time for Each Transaction

    Hi ,

    How to calculate the response time for each transactions in my script?
    Is the "Timer value Vs Elapsed Time graph" equal to the Response time of the each transactions?

    I have run a test with 400 users. Some of the timer values are above 2000 to 3000 seconds? so the average of timer value goes high [img]/images/graemlins/frown.gif[/img]
    Is this because of OpenSTA or by my application? why it hasnt timed out?

    I am facing the same issue when testing another application too?
    i have attached the graphs.
    Plz help
    Attached Files Attached Files

  2. #2
    Moderator
    Join Date
    Sep 2001
    Location
    Boston, MA
    Posts
    4,348
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Response Time for Each Transaction

    are you sure those values aren't in millisecs?
    Corey Goldberg
    Homepage: goldb.org
    Twitter: twitter.com/cgoldberg
    Google+: gplus.to/cgoldberg

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Response Time for Each Transaction

    Hi Corey,

    I have checked it. It is only in seconds. Please find the attachment in the above post.

    Thanks

  4. #4
    Moderator
    Join Date
    Jun 2003
    Location
    Hollis, NH, USA
    Posts
    1,551
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Response Time for Each Transaction

    The response times are indeed in seconds for that graph. Only the HTTP stats list has times in milli-seconds (unless overridden by a script directive.)

    What do you have your timeout value set too? Just double checking this value because unless you set timeout to a very high value, it should not be possible to have timers this high.

    Also, is there any chance that you have a long WAIT statement inside a start and end timer statement? If no, and you have modified the timeout value to be well at least 1200 seconds, then times reported are probably real.

  5. #5
    Junior Member
    Join Date
    Dec 2009
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Response Time for Each Transaction

    Thanks Bernie [img]/images/graemlins/smile.gif[/img]

    Yes, i have the Timeout=600000. i have increased the timeout becoz i was getting timeout errors.

    But still wondering how the timer value gone above this settings [img]/images/graemlins/frown.gif[/img]

    i dont have any WAIT statements between the Timers.

  6. #6
    Moderator
    Join Date
    Jun 2003
    Location
    Hollis, NH, USA
    Posts
    1,551
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Response Time for Each Transaction

    600000 = 600 seconds. OpenSTA will check every 600 seconds for timeouts. In theory, at 600 seconds, a thread could have been waiting for 599 seconds. In this case, it would not trigger a timeout. Next cycle it would be (599+600) or 1199 seconds and it would trigger a timeout.

    So, on average, a process that has timed out will do so at 1.5 X timeout value. The max timeout you should see is (2 X timeout value) - 1 which in your case is 1199 seconds.

  7. #7
    Moderator
    Join Date
    Jun 2003
    Location
    Hollis, NH, USA
    Posts
    1,551
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Response Time for Each Transaction

    Also, if you have multiple requests that timeout inside a start/end pair, the total time recorded will be the sum of all requests and depending on how errors are handled, could easily exceed 2 X timeout_value -1.

    "Of course" you do validate every primary get/post and the code you add would not record a timer for a request that failed, right??

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.11%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:04 AM.

Copyright BetaSoft Inc.