Wednesday, April 1, 2020

JMeter Set Thread Count , Rampup time from Command line arguments


Get the syntax from Tools ---> Function Helper Dialog



 Select __P
 Copy the Function syntax





Add result file location as we are running from Non-GUI to pass command line parameters



for threadNumber  prefix with J     , JthreadNumber

jmeter -n -t test1.jmx -JthreadNumber=5 -JrampUP=10
now the thread runs for  5 times overriding  default value 1

No comments:

Post a Comment

JMeter Simple Controller

  Simple Controller is just a  container  for user request.