jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1790803 - /jmeter/trunk/test/src/org/apache/jmeter/report/dashboard/ApdexPerTransactionTest.java
Date Mon, 10 Apr 2017 11:12:57 GMT
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);



Mime
View raw message