I'm trying to automate some perf testing. I'd to pass server locations into a generic jmx from a Jenkins job. I'd like to be able to do something like:
jmeter -n -t foo.jmx -JtestingIP=IP
and have foo.jmx pick up testingIP
.
What is the proper way to do this? When I run that jmeter command, it says that the variable has been stored, but inserting either ${testingIP}
or ${\_\_P(testingIP,)}
into the jmx results in ${testingIP}
or ${\_\_P(testingIP,)}
to be interpreted as just a string.
What am I doing wrong/not doing at all? Is this even possible?
question from:
https://stackoverflow.com/questions/19823954/jmeter-pass-command-line-variables-into-a-jmx 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…