SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    New Member
    Join Date
    Oct 2014
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Do virtual users perform actual actions on the website?

    If I run a script for creating a user on a website with 1000 virtual users, will 1000 users be created on the website during the run?

  2. #2
    Member
    Join Date
    Oct 2013
    Posts
    112
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    If the script is designed properly the answer is yes, but you need to send different data for each virtual user elsewise 1 user will be created and remaining 999 will fail on duplicate user name constraint.

    JMeter acts on protocol level so for the website it will look like a browser sending GET/POST/PUT/etc. requests along with their parameters. The only thing JMeter doesn't do is in fact "rendering" the page and executing client JavaScript.

    So consider the following:

    1. Parametrization make sure that each virtual user has some unique parameter. The simplest way is sticking to virtual user's number (1 for 1st thread, 2 - for second, etc. Relevant JMeter's function is __threadNum()
    2. Correlation - in some cases website requires dynamic mandatory parameter for security or to track where user currently resides. See Correlation in JMeter for details and howto.
    3. Real Browser Simulation - it is important to configure JMeter to fetch embedded resources like scripts, images, styles, etc, to properly handle browser cookies, to simulate browser cache and headers. To learn how these tips can be implemented see How to make JMeter behave more like a real browser guide.

  3. #3
    New Member
    Join Date
    Oct 2014
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Thanks. But I ran a script which involves a user logging in, adding an academic program after filling a short form and logging out. But, there was no program created on the site. What wrong must I be doing?

  4. #4
    New Member
    Join Date
    Oct 2014
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Yes, done. Thanks.

  5. #5
    Member
    Join Date
    Sep 2008
    Location
    India
    Posts
    394
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Quote Originally Posted by testingpiso View Post
    If I run a script for creating a user on a website with 1000 virtual users, will 1000 users be created on the website during the run?
    Yes.. provided you have developed the script correctly. Else check for correlation & parameterization
    Best Regards,
    Sanket Vaidya

    Om - Effortless Text Generation http://sourceforge.net/p/omfortesting/home/description/

 

 

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.71%
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 03:36 AM.

Copyright BetaSoft Inc.