jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1827678 - /jmeter/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsBySamplerConsumerSpec.groovy
Date Sat, 24 Mar 2018 20:30:03 GMT
Author: pmouawad
Date: Sat Mar 24 20:30:02 2018
New Revision: 1827678

URL: http://svn.apache.org/viewvc?rev=1827678&view=rev
Log:
Bug 62209  InfluxBackendListenerClient: First Assertion Failure Message must be sent if error
code and response code are empty or ok 
Fix Test failure
Bugzilla Id: 62209

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsBySamplerConsumerSpec.groovy

Modified: jmeter/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsBySamplerConsumerSpec.groovy
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsBySamplerConsumerSpec.groovy?rev=1827678&r1=1827677&r2=1827678&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsBySamplerConsumerSpec.groovy
(original)
+++ jmeter/trunk/test/src/org/apache/jmeter/report/processor/Top5ErrorsBySamplerConsumerSpec.groovy
Sat Mar 24 20:30:02 2018
@@ -19,6 +19,7 @@ package org.apache.jmeter.report.process
 
 import org.apache.jmeter.junit.spock.JMeterSpec
 import org.apache.jmeter.report.core.Sample
+import org.apache.jmeter.report.utils.MetricUtils
 
 class Top5ErrorsBySamplerConsumerSpec extends JMeterSpec {
 
@@ -49,11 +50,11 @@ class Top5ErrorsBySamplerConsumerSpec ex
             def data = (Top5ErrorsSummaryData) mockSummaryInfo.getData()
             data.getTotal() == 1
             data.getErrors() == 1
-            data.top5ErrorsMetrics[0][0] == ErrorsSummaryConsumer.ASSERTION_FAILED
+            data.top5ErrorsMetrics[0][0] == MetricUtils.ASSERTION_FAILED
             def overallData = (Top5ErrorsSummaryData) sut.getOverallInfo().getData()
             overallData.getTotal() == 1
             overallData.getErrors() == 1
-            overallData.top5ErrorsMetrics[0][0] == ErrorsSummaryConsumer.ASSERTION_FAILED
+            overallData.top5ErrorsMetrics[0][0] == MetricUtils.ASSERTION_FAILED
     }
 
     def "key from sample is name"() {



Mime
View raw message