You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2017/04/10 11:12:57 UTC
svn commit: r1790803 -
/jmeter/trunk/test/src/org/apache/jmeter/report/dashboard/ApdexPerTransactionTest.java
Author: sebb
Date: Mon Apr 10 11:12:56 2017
New Revision: 1790803
URL: http://svn.apache.org/viewvc?rev=1790803&view=rev
Log:
Add a simpler test to try and debug the Windows failure
Modified:
jmeter/trunk/test/src/org/apache/jmeter/report/dashboard/ApdexPerTransactionTest.java
Modified: jmeter/trunk/test/src/org/apache/jmeter/report/dashboard/ApdexPerTransactionTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/report/dashboard/ApdexPerTransactionTest.java?rev=1790803&r1=1790802&r2=1790803&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/report/dashboard/ApdexPerTransactionTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/report/dashboard/ApdexPerTransactionTest.java Mon Apr 10 11:12:56 2017
@@ -67,6 +67,20 @@ public class ApdexPerTransactionTest ext
}
+ @Test
+ public void testgetApdexPerTransactionPropertySimple() {
+ final Properties merged = new Properties();
+ final Props props = new Props();
+
+ merged.putAll(loadProps(
+ new File(this.getClass().getResource("reportgenerator_test.properties").getFile())));
+ props.load(merged);
+ final String title = getOptionalProperty(props,
+ "jmeter.reportgenerator.graph.responseTimePercentiles.title",
+ String.class);
+ assertNotNull("title should not be null", title);
+ }
+
@Test
public void testGetApdexPerTransactionParts() {
Map<String, Long[]> apdex = ReportGeneratorConfiguration.getApdexPerTransactionParts(apdexString);