GitHub user SLepUbIn opened a pull request:
https://github.com/apache/jmeter/pull/287
add apdex per sample (bugzilla #60112)
Add feature requested at
https://bz.apache.org/bugzilla/show_bug.cgi?id=60112
So that apdex can be overriden per sample, everything that is not overriden
will use defaults.
New sample reportgenerator.properties with new property
`jmeter.reportgenerator.apdex_per_transaction`, is below.
In that example samples "scenar01-12" and "samples12" are hardcoded names
and "sample(\\d+)" is a regex, so all samples that match the regex will have
their apdex set by the specified values.
```
#jmeter.reportgenerator.apdex_satisfied_threshold=500
# Sets the tolerance threshold for the APDEX calculation (in milliseconds).
#jmeter.reportgenerator.apdex_tolerated_threshold=1500
# Sets satisfaction and tolerance threshold to specific samples.Use sample
names or regular
# expression. Format is : sample_name:satisfaction|tolerance[,;]
# Notice the semicolon between sample name and values, the pipe between
thresholds and the
# comma or semicolon at the end to separate different samples. Don't forget
to escape after
# comma or semicolon to span multiple lines. Ex :
#jmeter.reportgenerator.apdex_per_transaction=sample(\\d+):1000|2000,\
# samples12:3000|4000;\
# scenar01-12:5000|6000
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ubikloadpack/jmeter 60112
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jmeter/pull/287.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #287
----
commit 6c4ecfe177230ab2a653d7eef661dd240ef2e064
Author: SL <[email protected]>
Date: 2017-03-22T15:27:37Z
add apdex per sample, cf bugzilla 60112
commit 828582d4a556844326b079be645b81d483160ba2
Author: SL <[email protected]>
Date: 2017-03-23T11:11:34Z
refactor specific apdex prop
commit 59e5267949d21b72dd37e55bac1ce33de14c3082
Author: SL <[email protected]>
Date: 2017-03-23T11:12:04Z
refactor specific apdex prop add tests
commit 5e3943a989d5540a7308ac28901f7c9b63fb5422
Author: SL <[email protected]>
Date: 2017-03-24T08:42:34Z
remove print call
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---