jmeter


Loop count and Ramp Up period in JMeter


I have created a set and just confused with the Loop Count and Ramp Up period.
I have a test set with the following parameters.
Threads = 30
Ramp Up Period = 30
Loop Count = 100
As per the page
https://www.quora.com/What-is-the-meaning-of-ramp-up-period-and-loop-count-in-JMeter
I suppose:
a) If Loop count is Zero, then each of the 30 threads will be starting every second. As per the shared the web page, I guess 30/30 * 100 ie 100 threads/requests will be hitting the server every second. Please correct me if I am wrong.
b) As per the above parameters, there will be a total of 30 * 100 threads/requests. Does this mean all the 3000 threads/requests will be sent within 30 seconds [ Ramp Up period ]
Assuming you have 30 users and 30 seconds ramp-up
JMeter will start each virtual user each second
Each virtual user will start executing samplers upside down (or according to the logic controllers, if any) as fast as it can (if you don't use timers) so the delivered load can be either more or less than 30 requests/second, it depends on how fast JMeter is executing requests and on your application response time as JMeter will wait for response from previous sampler before starting new one
When virtual user finishes executing all the samplers defined in test plan it will start over and do point 2 for 99 more iterations
When virtual user won't have more samplers to execute and loops to iterate it will shut down
A couple of tips:
You can use Server Hits Per Second listener to see how many requests per second you are actually making given your test plan configuration
You can control the number of requests per second via Constant Throughput Timer
Consider upgrading to JMeter 3.2 as newer JMeter versions normally contain new features, performance improvements and bug fixes
according to jmeter manual ramp up is:
How long JMeter should take to get all the threads started.
If there are 10 threads and a ramp-up time of 100 seconds, then each
thread will begin 10 seconds after the previous thread started, for a
total time of 100 seconds to get the test fully up to speed.
So if your goal is to reach 3000 request within 30 seconds the above wont do, it might take more than that depending on how much it takes to finish the requests you are sending.
If you are looking for Throughput you can add an aggregate report listener which calculates the throughput for you and depending on the results you can configure your thread properties to reach your goal.
Reference :
Jmeter user manual

Related Links

JMeter report 95% line
J-Meter - Moodle test scripts
How to send a binary payload with request in JMeter?
How to do error handling in Jmeter
Access Log Sampler - Distributed testing
How JMeter tests web application
JMeter - easily changeable configuration options
How to pass a random User/Pass (for Basic Authentication) with JMeter?
Testing Java Classes with JMeter
JMeter - Set unique id per server
JMeter - Access Log Sampler only firing one line of the log file
How to synchronize JMeter Thread groups
Why Jmeter is not recording?
Jmeter - Capturing pop ups and Images
JMeter - how to log the full request for a failed response?
Distributed JMeter tests with per-slave CSV datasets

Categories

HOME
notepad++
google-cloud-platform
oracle12c
hyperlink
spark-streaming
gpu
powerpoint
zend-framework
sitecore
hugo
ado.net
pearson-correlation
vert.x
trac
odoo-8
boto3
g++
pcl-crypto
drop-down-menu
azure-iot-hub
atlassian-stash
template-engine
wolframalpha
backpack-for-laravel
visual-studio-extensions
mongoid6
gmock
beta
jboss6.x
mount
ms-access-web-app
exchangewebservices
jaws
alm
xbox
apic
openalpr
jpad
google-earth-engine
c9.io
pom.xml
dtsearch
tf
singleinstance
azure-cli
rsa-archer-grc
omxplayer
preprocessor
xcode-server
flex4.6
model-associations
mapinfo
lz77
grass
toast
toran-proxy
java-money
gocql
django-urls
xvim
poppler
mod-proxy
ansi
alloy-ui
kubuntu
rrule
adehabitathr
pseudo-class
sql-scripts
cancellation
tinyxml
buffering
authlogic
square-bracket
ecslidingviewcontroller
high-resolution
rolify
neos-server
facebook-timeline
pclzip
android-icons
superscrollorama
insert-id
mysql-error-2013
swfobject
zope.interface
subgraph
listitem
correlated-subquery
boost-signals
usertype
fitbounds
gobject-introspection
jqote
mbeans
qglwidget
ruby-1.8
mathematical-notation

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App