|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.config.ConfigTestElement
org.apache.jmeter.protocol.http.modifier.UserParameterModifier
This modifier will replace any http sampler's url parameter values with parameter values defined in a XML file for each simulated user.
For example if userid and password are defined in the XML parameter file for each user (ie thread), then simulated multiple user activity can occur.
Field Summary |
Fields inherited from class org.apache.jmeter.config.ConfigTestElement |
PASSWORD, USERNAME |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
UserParameterModifier()
Default constructor. |
Method Summary | |
Object |
clone()
|
String |
getXmlUri()
Return the current XML file name to be read to obtain the parameter data for all users |
void |
process()
Modifies an entry object to replace the value of any url parameter that matches a parameter name in the XML file. |
void |
setXmlUri(String xmlURI)
From the GUI screen, set file name of XML to read |
void |
testEnded()
Called once for all threads after the end of a test |
void |
testEnded(String host)
|
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired. |
void |
testStarted()
Runs before the start of every test. |
void |
testStarted(String host)
|
Methods inherited from class org.apache.jmeter.config.ConfigTestElement |
addTestElement |
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserParameterModifier()
Method Detail |
public void testStarted()
testStarted
in interface TestListener
StandardJMeterEngine.run()
public void testEnded()
TestListener
testEnded
in interface TestListener
StandardJMeterEngine.stopTest()
public void testStarted(String host)
testStarted
in interface TestListener
public void testEnded(String host)
testEnded
in interface TestListener
public void process()
process
in interface PreProcessor
public String getXmlUri()
public void setXmlUri(String xmlURI)
xmlURI
- the name of the XML file containing the HTTP name value
pair parameters per userpublic void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart
in interface TestListener
event
- public Object clone()
clone
in interface TestElement
clone
in class AbstractTestElement
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |