SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5

Thread: workload model

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    workload model

    Hi SilkPerformers,

    My question can sound very simple...and here is an introduction:
    I created a working script, which basically allows a virtual user to execute

    1) Login-transaction (begin)
    2) Business-transactionA 1
    3) Business-transactionB 1
    4) Business-transactionC 1
    5) Logoff-transaction (end).

    I need to simulate such a workload when each of my vusers is executing only one Login - Logout transaction and between, they would randomly "cycle" through three types of Business transactions and each user should remain "working" for hours.
    What is a correct way to create this type of workload? Or my script should be reworked in a special way?
    Please advise - any helping hints will be appreciated.

    Thanks

  2. #2
    Member
    Join Date
    Sep 2002
    Location
    Chicago, Illinois, USA
    Posts
    90
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: workload model

    Sounds like you want to randomly execute 3 out of 5 transactions. I don't think you can do this.

    What we usually do is coding three transactions in three functions. A randon number 1-3 will call each of them.

    For example,
    if rRandNum = 1 then
    function1();
    else if rRandNum = 2 then
    function2();
    else
    function3();
    end;

    You may also creating three different type of VUsers:

    For examples:

    dcluser
    user
    VUser1
    transactions
    login : 1
    Transaction1: 1
    logout : 1

    user
    VUser2
    transactions
    login : 1
    Transaction2: 1
    logout : 1

    user
    VUser3
    transactions
    login : 1
    Transaction3: 1
    logout : 1

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: workload model

    Thank you very much SILK1 for your suggestions.

    I'll keep them in mind, though I found a way to achieve my goal only with Profile's modification and now it does what I need.

  4. #4
    Member
    Join Date
    Sep 2002
    Location
    Chicago, Illinois, USA
    Posts
    90
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: workload model

    Sorry, I missed the point that you would declare Login-transaction as "begin" and Logoff-transaction as "end". In this case, it would be fairly simple to randomize Business-transaction A A, B, and C thru profile.

  5. #5
    Junior Member
    Join Date
    Jun 2003
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: workload model

    That's absolutely right - still I really appreciate your help.

 

 

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.54%
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 12:12 AM.

Copyright BetaSoft Inc.