You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2020/07/25 14:06:47 UTC

[jmeter] branch master updated: Bug 64547 - Report/Dashboard: Ensure graphs Response codes per second is not broken by empty response code in SampleResult

This is an automated email from the ASF dual-hosted git repository.

pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 12bb68c  Bug 64547 - Report/Dashboard: Ensure graphs Response codes per second is not broken by empty response code in SampleResult
12bb68c is described below

commit 12bb68cb6f83f378fee37af61499c64a4e2a266d
Author: pmouawad <p....@ubik-ingenierie.com>
AuthorDate: Sat Jul 25 16:06:01 2020 +0200

    Bug 64547 - Report/Dashboard: Ensure graphs Response codes per second is
    not broken by empty response code in SampleResult
    
    
    Fix regression in Response Time Percentiles Over Time (successful
    responses)
---
 .../org/apache/jmeter/report/processor/graph/StaticSeriesSelector.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/src/main/java/org/apache/jmeter/report/processor/graph/StaticSeriesSelector.java b/src/core/src/main/java/org/apache/jmeter/report/processor/graph/StaticSeriesSelector.java
index 1f94150..0e6a6f4 100644
--- a/src/core/src/main/java/org/apache/jmeter/report/processor/graph/StaticSeriesSelector.java
+++ b/src/core/src/main/java/org/apache/jmeter/report/processor/graph/StaticSeriesSelector.java
@@ -56,7 +56,7 @@ public class StaticSeriesSelector extends AbstractSeriesSelector {
      */
     @Override
     public Iterable<String> select(Sample sample) {
-        return withDefaultIfEmpty(sample.getName(), "EMPTY_SERIE_NAME"); //$NON-NLS-1$
+        return withDefaultIfEmpty(seriesName, "EMPTY_SERIE_NAME"); //$NON-NLS-1$
     }
 
 }