Bug 60105

Summary: Report / Dashboard : Report requires Transaction Controller "generate parent sample" option to be checked , fix related issues
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2    
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Philippe Mouawad 2016-09-10 09:21:43 UTC
Today Transaction Controller has a non uniform behaviour regarding the reporting of metrics depending on wether Generate Parent Sample is checked or not:
- Connect Time is available in TC Sample Result only if Generate Parent Sample is unchecked
- Latency Time is available in TC Sample Result only if Generate Parent Sample is unchecked

If generate Parent Sample is checked then Some reports are either wrong or incomplete:
- Requests Summary was wrong if TC used(see Bug 60103)
- Erros cannot be computed correctly
- Connect Time Over Time cannot be created 

Note we alredy advise in Generating Dashboard documentation to uncheck it.

If it's not checked, then some reports have partly wrong results:
- SyntheticResponseTimeDistributionGraphConsumer (new in trunk) should ignore TC Sample Results
- bytesThroughputOverTime counts many times bytes depending on TC nesting and content


So we must add in documentation the fact that TC should uncheck Generate Parent Sample and fix the issues when this option is checked.
Comment 1 Philippe Mouawad 2016-09-10 09:29:16 UTC
Author: pmouawad
Date: Sat Sep 10 09:28:16 2016
New Revision: 1760140

URL: http://svn.apache.org/viewvc?rev=1760140&view=rev
Log:
Bug 60105 - Report / Dashboard : Report requires Transaction Controller "generate parent sample" option to be checked , fix related issues
Bugzilla Id: 60105

Added:
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphValueSelector.java   (with props)
Modified:
    jmeter/trunk/bin/reportgenerator.properties
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/ConnectTimeValueSelector.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/CountValueSelector.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/ElapsedTimeValueSelector.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/LatencyValueSelector.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/SuccessfulElapsedTimeValueSelector.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/BytesThroughputGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/CodesPerSecondGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ConnectTimeOverTimeGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/HitsPerSecondGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/LatencyOverTimeGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/LatencyVSRequestGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimeDistributionGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimeOverTimeGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimePerSampleGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimePercentilesGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimeVSRequestGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/SyntheticResponseTimeDistributionGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TimeVSThreadGraphConsumer.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TransactionsPerSecondGraphConsumer.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/generating-dashboard.xml