Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible not to change sample name? #3

Open
wulinjie122 opened this issue Jun 25, 2024 · 1 comment
Open

Is it possible not to change sample name? #3

wulinjie122 opened this issue Jun 25, 2024 · 1 comment
Labels
question Further information is requested

Comments

@wulinjie122
Copy link

I noticed if exception occurred with sample, this plugin will add suffix to the sample label, is there a better to avoid change the sample name ?

@tilln
Copy link
Owner

tilln commented Jun 25, 2024

Currently, you can set the JMeter property jmeter.retrier.sampleLabelSuffix to an empty string.
However, the retries would still have the counter value appended.
Work-around would be to change the sub-results' labels in a JSR223 PostProcessor like so (assuming you don't have nested sub-sub-results):

prev.subResults*.setSampleLabel(prev.sampleLabel)

Let me know if you have a better idea how to implement this in the plugin.

@tilln tilln added the question Further information is requested label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants