Skip to main content
Buse Kaya
Software Test Enginner
Asked a question 10 months ago

How to Use Command Line Parameters in JMeter? I'm using Jmeter for testing APIs and I want to parametrize the project's path from the terminal and then I want to use this parameter in JMeter. The parameter that I've sent via Command Line : ./jmeter -n -t your_script.jmx The parameter that I've used in User Defined Variables : ${__P(url)} But when I run my automation in JMeter, my test scripts are not going to URL that's been defined. When I check the request body, I see POST https://1 as URL. Please see the attached photos.

Please sign up to enjoy the full benefits of learning and sharing.

Earn QA Coins by participating in the discussion and asking questions.

Related Questions

Question Stats

Asked 2 times
Asked a question 10 months ago
Last asked 10 months ago
Views this month