0

my basic command is this

jmeter -n -t "Get Profile.jmx" -l "..\result_$(Get-Date -Format yyyyMMddHHmmss).jtl" -e -o "..\report_$(Get-Date -Format yyyyMMddHHmmss)" -f

can I run and setting the thread group properties like Number of Users, Ramp Up Period, and Loop Count in JMeter just with cli?

1 Answer 1

1

You can use __P() function to set the number of threads in Thread Group like:

${__P(threads,)}

enter image description here

And then you will be able to pass the value using -J command-line argument like:

jmeter -Jthreads=100 -n -t ....

More information:

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.