1 | void setXmlPathLoc(String path) {↵ | | 1 | void set↵
|
2 | setProperty(XML_PATH_LOC, path);↵ | | |
|
3 | ↵ | | 2 | Classname(String classname)↵
|
| | | 3 | {↵
|
| | | 4 | setProperty(CLASSNAME, classname);↵
|
4 | }↵ | | 5 | }↵
|
|
5 | /**↵ | | 6 | /**↵
|
6 | * Get the path where XML messages are stored. this is the directory where↵ | | 7 | * Gets the ↵
|
7 | * JMeter will randomly select a file.↵ | | |
|
8 | ↵ | | 8 | Classname attribute of the JavaConfig object↵
|
| | | 9 | *↵
|
| | | 10 | * @return the Classname value↵
|
9 | */↵ | | 11 | */↵
|
10 | public String getXmlPathLoc() {↵ | | 12 | public String get↵
|
11 | return getPropertyAsString(XML_PATH_LOC);↵ | | |
|
12 | }↵ | | |
|
|
13 | ↵ | | 13 | Classname()↵
|
| | | 14 | {↵
|
| | | 15 | return getPropertyAsString(CLASSNAME);↵
|
| | | 16 | }↵
|
| | | 17 | ↵
|
14 | /**↵ | | 18 | /**↵
|
15 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵ | | |
|
16 | * string path.↵ | | |
|
17 | * ↵ | | |
|
18 | * @param filename↵ | | |
|
19 | ↵ | | 19 | * Set the string label used to create an instance of the↵
|
| | | 20 | * test with the string constructor.↵
|
| | | 21 | * @param constr↵
|
20 | */↵ | | 22 | */↵
|
21 | public void setXmlFile(String filename) {↵ | | 23 | public void set↵
|
22 | setProperty(XML_DATA_FILE, filename);↵ | | |
|
23 | ↵ | | 24 | ConstructorString(String constr)↵
|
| | | 25 | {↵
|
| | | 26 | setProperty(CONSTRUCTORSTRING,constr);↵
|
24 | } | | 27 | }
|