jakarta-jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r582437 - /jakarta/jmeter/trunk/src/core/org/apache/jmeter/testelement/TestListener.java
Date Sat, 06 Oct 2007 02:37:54 GMT
Author: sebb
Date: Fri Oct  5 19:37:54 2007
New Revision: 582437

URL: http://svn.apache.org/viewvc?rev=582437&view=rev
Log:
Update Javadoc

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/testelement/TestListener.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/testelement/TestListener.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/testelement/TestListener.java?rev=582437&r1=582436&r2=582437&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/testelement/TestListener.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/testelement/TestListener.java Fri Oct
 5 19:37:54 2007
@@ -21,12 +21,16 @@
 import org.apache.jmeter.engine.event.LoopIterationEvent;
 
 /**
- * @version $Revision$ on $Date$
+ * TestListener interface is used for methods that are called at different
+ * stages of each test.
+ * 
  */
 public interface TestListener {
 	/**
 	 * Called just before the start of the test from the main engine thread.
 	 * 
+	 * This is before the test elements are cloned.
+	 * 
 	 * Note that not all the test
 	 * variables will have been set up at this point.
 	 * 
@@ -38,6 +42,8 @@
 	/**
 	 * Called just before the start of the test from the main engine thread.
 	 * 
+	 * This is before the test elements are cloned.
+	 * 
 	 * Note that not all the test
 	 * variables will have been set up at this point.
 	 * 
@@ -49,6 +55,8 @@
 	/**
 	 * Called once for all threads after the end of a test.
 	 * 
+	 * This will use the same element instances as at the start of the test.
+	 * 
 	 * @see org.apache.jmeter.engine.StandardJMeterEngine#stopTest()
 	 * 
 	 */
@@ -57,6 +65,8 @@
 	/**
 	 * Called once for all threads after the end of a test.
 	 * 
+	 * This will use the same element instances as at the start of the test.
+	 * 
 	 * @see org.apache.jmeter.engine.StandardJMeterEngine#stopTest()
 	 * 
 	 */
@@ -66,6 +76,9 @@
 	/**
 	 * Each time through a Thread Group's test script, an iteration event is
 	 * fired for each thread.
+	 * 
+	 * This will be after the test elements have been cloned, so in general
+	 * the instance will not be the same as the ones the start/end methods call.
 	 * 
 	 * @param event
 	 */



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Mime
View raw message