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:26:37 UTC
svn commit: r1790804 -
/jmeter/trunk/test/src/org/apache/jmeter/report/dashboard/ApdexPerTransactionTest.java
Author: sebb
Date: Mon Apr 10 11:26:37 2017
New Revision: 1790804
URL: http://svn.apache.org/viewvc?rev=1790804&view=rev
Log:
More Windows debug
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=1790804&r1=1790803&r2=1790804&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:26:37 2017
@@ -22,10 +22,12 @@ import static org.junit.Assert.assertArr
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
+import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
@@ -39,6 +41,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import jodd.props.Props;
+import jodd.props.PropsEntry;
public class ApdexPerTransactionTest extends JMeterTestCase {
@@ -78,7 +81,14 @@ public class ApdexPerTransactionTest ext
final String title = getOptionalProperty(props,
"jmeter.reportgenerator.graph.responseTimePercentiles.title",
String.class);
- assertNotNull("title should not be null", title);
+ if (title == null) {
+ Iterator<PropsEntry> it = props.iterator();
+ while(it.hasNext()) {
+ PropsEntry pe = it.next();
+ System.out.println(pe);
+ }
+ fail("title should not be null; see above for entries in property collection");
+ }
}
@Test