Class Summariser
- All Implemented Interfaces:
- Serializable,- Cloneable,- NoThreadClone,- Searchable,- Remoteable,- SampleListener,- org.apache.jmeter.testelement.TestElement,- TestStateListener
SummariserRunningSample start and end times relate to the samples,
 not the reporting interval.
 Since the first sample in a delta is likely to have started in the previous reporting interval,
 this means that the delta interval is likely to be longer than the reporting interval.
 Also, the sum of the delta intervals will be larger than the overall elapsed time.
 Data is accumulated according to the test element name.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElementorg.apache.jmeter.testelement.TestElement.Companion
- 
Field SummaryFields inherited from interface org.apache.jmeter.testelement.TestElementCOMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS
- 
Constructor SummaryConstructorsConstructorDescriptionSummariser(String name) Constructor for use during startup (intended for non-GUI use)
- 
Method SummaryModifier and TypeMethodDescriptionvoidAccumulates the sample in two SampleResult objects - one for running totals, and the other for deltas.voidA sample has started.voidA sample has stopped.voidCalled once for all threads after the end of a test.voidCalled from a different thread as testStarted() but using the same instance.voidCalled just before the start of the test from the main engine thread.voidtestStarted(String host) Called once for each Summariser in the test plan.Methods inherited from class org.apache.jmeter.testelement.AbstractTestElementaddPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.testelement.TestElementget, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, set
- 
Constructor Details- 
Summariserpublic Summariser()
- 
SummariserConstructor for use during startup (intended for non-GUI use)- Parameters:
- name- of summariser
 
 
- 
- 
Method Details- 
sampleOccurredAccumulates the sample in two SampleResult objects - one for running totals, and the other for deltas.- Specified by:
- sampleOccurredin interface- SampleListener
- Parameters:
- e- the- SampleEventthat has occurred
- See Also:
 
- 
sampleStartedA sample has started.- Specified by:
- sampleStartedin interface- SampleListener
- Parameters:
- e- the- SampleEventthat has started
 
- 
sampleStoppedA sample has stopped.- Specified by:
- sampleStoppedin interface- SampleListener
- Parameters:
- e- the- SampleEventthat has stopped
 
- 
testStartedpublic void testStarted()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. N.B. testStarted() and testEnded() are called from different threads. - Specified by:
- testStartedin interface- TestStateListener
- See Also:
 
- 
testEndedpublic void testEnded()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. N.B. testStarted() and testEnded() are called from different threads. - Specified by:
- testEndedin interface- TestStateListener
- See Also:
 
- 
testStartedCalled once for each Summariser in the test plan. There may be more than one summariser with the same name, however they will all be called before the test proper starts.However, note that this applies to a single test only. When running in client-server mode, testStarted() may be invoked after sampleOccurred(). 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. N.B. testStarted() and testEnded() are called from different threads. - Specified by:
- testStartedin interface- TestStateListener
- Parameters:
- host- name of host
- See Also:
 
- 
testEndedCalled from a different thread as testStarted() but using the same instance. So synch is needed to fetch the accumulator, and the myName field will already be set up.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. N.B. testStarted() and testEnded() are called from different threads. - Specified by:
- testEndedin interface- TestStateListener
- Parameters:
- host- name of host
- See Also:
 
 
-