apache / apache/jmeter

Wrong response time with mode=Statistical and num_sample_threshold > 1 when using remote mode.

Open
#3,045 1 comment 0 reactions 0 assignees View on GitHub
os: All P2 regression
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Eagle Liu** ([Bug 54478](https://bz.apache.org/bugzilla//show_bug.cgi?id=54478&redirect=false)):
This issue should be existed from JMeter 2.7 to latest night build [apache-jmeter-r1437941]. I have just used latest night build to reproduce this issue.

To show this problem, I compared test result with following two test case.

I used one PC to reproduce this issue.
Case A:
1. start JMeter server with jmeter-server.bat.
2. enable following two parameters in jmeter.properties
mode=Statistical
num_sample_threshold=40

3. run JMeter client with following command[NO GUI is required]:
jmeter.bat -n -r -t debug.jmx -l Statistical_40_1.jtl

Each average of Sample result in Summary Report is too large and total average response is about 5111 ms.

Case B:
1. start JMeter server with jmeter-server.bat.
2. enable following two parameters in jmeter.properties
mode=Statistical
num_sample_threshold=1

3. run JMeter client with following command:
jmeter.bat -n -r -t debug.jmx -l Statistical_1_1.jtl

Total average response is about 272 ms.

The result in Case A is unreasonable. Please fix it.

Created attachment [testScriptLogs.zip](https://apache.github.io/jmeter-bugzilla-attachments/78/54478/29890/testScriptLogs.zip): My test script and JTL logs

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.