SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Super Member
    Join Date
    Mar 2001
    Posts
    1,442
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to Approach?

    User Mohammed Sha (mohammedsha@erunway.com.nospam) posted:


    Hi All,

    I have a requirement to simulate a real time load scenario on a
    WebApplication. It's like, 100 Users Logging to the system, 50 Loggin out,
    75 performing transaction1 another 60 performing transaction2 etc. All this
    simultaneously, preferably, all login clicks, logout clicks and submit
    clicks should be at the same instant.

    I was thinking of having separate Vusers for each one of these tasks. Like,
    a login Vuser, a logout Vuser, transaction1 Vuser etc. the problem here is
    that, for the user to perform transactions he needs to be logged in first.

    Can someone kindly suggest how to go about this? Various approaches if
    possible.

    Thanks in advance,

    Regards,

    Sha.


  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Livingston (Scotland)
    Posts
    530
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Approach?

    Hi,

    Surely attempting to get all users to perform their transactions at precisely the same time would be un-realistic?

    There is a loadrunner command lr_rendezvous which should suit your needs. Use vuser_init to initialize your users (to the required places in your application)and the put a lr_rendezvous command in an action file which contains your required business transaction.

    All users should wait at your rendezvous point until they are all at the same point and then automatically start the required transaction.

    The only problem is that you want all your users to wait at the rendezvous point which obviosuly means different users in different parts of your application. I would use some conditional processing to resolve this, along the lines of:

    if ({vUserID} >=1 | | {vUserID} <=50)
    {
    doTransaction1();
    }

    if ({vUserID} >=51 | | {vUserID} <=100)
    {
    doTransaction2();
    }

    etc.

    Hope this helps & good luck.

    Regards,
    Colin.

    ------------------

    [This message has been edited by coling (edited 10-25-2001).]
    Hope this helps.

    Regards,
    Colin.

  3. #3
    Super Member
    Join Date
    Mar 2001
    Posts
    1,442
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Approach?

    User Stephanie (ssylve1445@mindspring.com.nospam) posted:

    put the logon in the vuser int section for the ones that do transaction1.
    Put everything else in the action section. Initialize the vusers before you
    start running the scenario.

    Stephanie
    Initiatives
    ----- Original Message -----
    From: "Mohammed Sha" <mohammedsha@erunway.com>
    To: <LoadRunner@yahoogroups.com>
    Sent: Thursday, October 25, 2001 2:16 AM
    Subject: [LoadRunner] How to Approach?


    this
    Like,



 

 

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 12.50%
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 04:49 PM.

Copyright BetaSoft Inc.