SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Aug 2010
    Posts
    64
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Vuser_end() doesn\'t get executed

    Hi,

    I have a vuser that login, do work, then logout. Nothing special. I have run logic iteration count set to 5, and "Simulate a new user on each iteration" unchecked.

    I expect that the vuser will login once, iterate 5 times then logout once. Then repeat the whole process over and over again. In Vugen when i run it once, it does exactly what i expected.

    However in controller, this vuser login once and iterate forever, until i forced it stop in controller.

    It's strange. Has someone seen this before?
    I'm completely baffled.

    Thanks,
    -madison

  2. #2
    Moderator
    Join Date
    Feb 2010
    Location
    Europe
    Posts
    944
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Vuser_end() doesn\'t get executed

    try changing execution setting to 'until completion'

  3. #3
    Member
    Join Date
    Jan 2004
    Location
    Germany
    Posts
    110
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Vuser_end() doesn\'t get executed

    Hello Madison!

    In the controller the iteration happens only for the action block. As long as the test is still running for the configured duration, the action will be executed - may be for some iterations.
    That means:
    the test starts -> init is executed
    the test runs -> action is exectued as long as the test is running
    the test ends -> end is executed

    Regards
    Thomas
    xtom

  4. #4
    Member
    Join Date
    Aug 2010
    Posts
    64
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Vuser_end() doesn\'t get executed

    Jim,
    Looks like "until completion" is no longer in execution settings. I have version 11. Thanks for the info though.
    -madison

  5. #5
    Member
    Join Date
    Aug 2010
    Posts
    64
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Vuser_end() doesn\'t get executed

    Hi Tom,

    You are right. I've tried different scripts with different settings and got the same results. Iteration count only works in Vugen.
    I got it work by adding a loop inside "action".
    Since iteration count doesn't work in controller, i don't see when bother to have it at all...

    Thanks,
    -madison

  6. #6
    Member LoadRunner421's Avatar
    Join Date
    May 2011
    Posts
    225
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Vuser_end() doesn\'t get executed

    Madison,

    Iteration count works in controller ONLY IF YOU HAVE THE TIMER TURNED OFF.

    1. In controller find the 'global schedule' in the bottom left

    2. double click 'duration'

    3. The duration pop up comes up, now turn the timer off, and turn on 'Run Until completion'.


    This option tells the controller: "Do not run for a certain amount of time anymore, run for the number of iterations specified in run time settings"

  7. #7
    Member
    Join Date
    Aug 2010
    Posts
    64
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Vuser_end() doesn\'t get executed

    Thanks! Apologize to Jim. [img]/images/graemlins/wink.gif[/img]

  8. #8
    Moderator
    Join Date
    Feb 2010
    Location
    Europe
    Posts
    944
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Vuser_end() doesn\'t get executed

    Thanks but unnecesary :-)

 

 

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 10.00%
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 06:38 AM.

Copyright BetaSoft Inc.