0

I'm doing a performance test on different versions of my application. The results end up in a csv summary-report.

Is there a way to change the variable correctly for each thread group?

Manual Script:

Manual Script

Script with variable: (not working, help needed). I don't want to change the version manually when a version changes, but only one parameter. Thanks!

Script with variable

1 Answer 1

1

Try using _P or _property function in your Thread Group and Sampler names.

Like Application-${__P(version1,)}, Login-${__P(version1,)}, etc.

Provide property value via 'user.properties' file or via -J command-line argument as

jmeter -Jversion1=1.0 -Jversion2=2.0 -n -t path_to_your_script.jmx -l path_to_results.jtl

All generated reports will contain these properties.

References:

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.