My test case is Users starts from 1000 and in next 1 hour there will be 10k users on website.
I am confuse that how can I increase users in jmeter so when test reach at 1 hour, I can see 10k active users.
Should I use ultimate thread group for this? I just want hint from expert to go to next step.
From what i have understood, you want to have 1000 users immediately, then slowly 9000 users in the next 1 hr, so that you will have 10000 users.
Then ultimate thread group seems to be a good choice for this exact requirement.
Hold Load for sec is the test duration with 10000 users. adjust accordingly.
Or, if your requirement is just to have 10000 users in 1 hr, (not 1000 in the beginning) , you can also use regular thread group.
Related
In my test plan I have 5 Thread groups with following number of users for 1HR,
Bulk Upload - 250 User
Log Analyzer - 50 User
Library - 10 User
CSV File Processer - 5 User
XLS File Processer - 5 User
For a particular execution I want to follow the following pattern,
Objective :
Want to execute this for 2HR (this is easy which I changed in the duration)
After every 20-30 min I want to increase the load to 10-20%
means after 30 min (example) the total user for Bulk Upload will became 275 User (if it is 10%) and similar for others and going to execute for 30 min.
And after 1HR of test Bulk Upload will became 302 User and similar for others and going to execute for 30 min.
Is there any way we can do this in JMeter in the same script during the execution.
you can achieve this by using a Ultimate thread group with the following settings.
The easiest is to just increase the total number of threads to 40-80% and amend the ramp-up period accordingly.
Alternatively you can consider using i.e. Concurrency Thread Group or Ultimate Thread Group where you can flexibly specify users arrival rate, something like:
These thread groups can be installed as a part of Custom Thread Groups bundle using JMeter Plugins Manager
I am doing performance testing using JMeter for a 365 dynamics ecommerce website. Script is written and its working fine for following flow: Homepage> category listing> product detail page> add to cart> and complete checkout.
I want to run my script for 200 concurrent users with some time interval. Like, start with 30 concurrent sessions for 10 minutes then increase 60 users with total concurrent session 90 for next 10 minutes. Then increase 44 users with total concurrent session 134 for next 10 minutes, Then increase 66 more users with total concurrent session 200 for next 10 minutes.
I am using ultimate thread group for this but not sure how to set configuration. See attached image.
I think you should amend your setup to introduce initial delay incrementing by 600 seconds for each group of new arrivals. The time to hold the load needs to be reduced by the same factor.
Example setup:
More information:
Ultimate Thread Group documentation
JMeter Ramp-Up - The Ultimate Guide
I have a requirement of load testing with 100 users, and a ramp-up period of 500.so that in every 5 sec, 1 user will login.i have some actions to be done in the application.lets say there are 50 scenarios. so out of 100 users, each of 2 should do one scenario.
how can i set 2 users should do one scenario out of 50 scenarios in a thread group.
Can anyone help me..Thanks in advance..
First, JMeter does not have the concept of users, but VUsers which are Java threads instantiated by a TG. If the 50 scenarios are unique and need to be executed simultaneously, the suggestion is to create 50 distinct TG with 2 Vusers each.
I have created a test script with the below scenarios and having thread group count as 100 and ran it for 10 minutes.
Employee Creation took 1 minute during the test script design
Update Employee took 2 minutes during the test script design
In the above mentioned scenario how many concurrent users will be on the system for 10 minutes?
I don't think there is a formula to predict or calculate concurrency as we don't know the number of samplers, response time, etc. so go for one of the following options:
Generate HTML Reporting Dashboard and look into Active Threads Over Time chart - it will show you the actual concurrency.
If you don't want or can not generate the dashboard you can achieve the same using Active Threads Over Time Listener which can be installed using JMeter Plugins Manager as a part of 3 Basic Graphs bundle.
I am using Google Search Console URL Testing Tools API, I have a problem in the understanding limit quota of API. It says:
Project per-second limit per 100 seconds = 1
User per-second limit per 100 seconds per user = 1
What does that mean?
Most of highly used APIs (google, facebook..) have short-time limits and long-time limits for better control over traffic. It allows developers make many requests (eg. 20000 per day) but prevents throttling if someone would try to eg. send 1000 requests in one second, which could clog api endpoint.
What you have in your google console:
Project per-second limit per 100 seconds = 1
That means you can make 1 query for 100 seconds in each project.
And:
User per-second limit per 100 seconds per user = 1
That means you can make 1 query for 100 seconds for each user connected to project.
That two limit rules putted together dont make much sense beacuse second rule will never be triggered (both have 1 request per 100 seconds but first one is for 'higher' resource and will block more requests).
Example of many limits you can see eg. in Analytics API where we have:
Queries per day = 50000
Big limit for queries per day.
Queries per 100 seconds per user = 100
Small limit per 100 seconds and per user so they can prevent too high peaks of requests from single user.
Queries per 100 seconds = 2000
Medium limit per 100 seconds.