|
Apache JMeter | |||||||||
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. This test element is deprecated. Test plans should use User Parameters instead.
Field Summary |
Fields inherited from class org.apache.jmeter.config.ConfigTestElement |
PASSWORD, USERNAME |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
UserParameterModifier()
Deprecated. Default constructor. |
Method Summary | |
Object |
clone()
Deprecated. |
String |
getXmlUri()
Deprecated. Return the current XML file name to be read to obtain the parameter data for all users |
void |
process()
Deprecated. 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)
Deprecated. From the GUI screen, set file name of XML to read |
void |
testEnded()
Deprecated. Called once for all threads after the end of a test. |
void |
testEnded(String host)
Deprecated. Called once for all threads after the end of a test. |
void |
testIterationStart(LoopIterationEvent event)
Deprecated. Each time through a Thread Group's test script, an iteration event is fired for each thread. |
void |
testStarted()
Deprecated. Runs before the start of every test. |
void |
testStarted(String host)
Deprecated. Called just before the start of the test from the main engine thread. |
Methods inherited from class org.apache.jmeter.config.ConfigTestElement |
addConfigElement, addTestElement, expectsModification |
Methods inherited from class java.lang.Object |
finalize, getClass, 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
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.
testEnded
in interface TestListener
StandardJMeterEngine.stopTest()
public void testStarted(String host)
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.
N.B. testStarted() and testEnded() are called from different threads.
testStarted
in interface TestListener
StandardJMeterEngine.run()
public void testEnded(String host)
TestListener
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.
testEnded
in interface TestListener
StandardJMeterEngine.stopTest()
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 ConfigElement
clone
in class AbstractTestElement
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |