1 | void setReadResponse(String read) {↵ | | 1 | void setUseJNDIProperties(String properties) {↵
|
2 | setProperty(READ_RESPONSE, read);↵ | | 2 | setProperty(USE_PROPERTIES_FILE, properties);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * return whether the sampler should read the response↵ | | 5 | * return whether the sampler should use properties file instead of UI↵
|
| | | 6 | * parameters.↵
|
6 | * ↵ | | 7 | * ↵
|
7 | * @return whether the sampler should read the response↵ | | 8 | * @return whether the sampler should use properties file instead of UI parameters.↵
|
8 | */↵ | | 9 | */↵
|
9 | public String getReadResponse() {↵ | | 10 | public String getUseJNDIProperties() {↵
|
10 | return getPropertyAsString(READ_RESPONSE);↵ | | 11 | return getPropertyAsString(USE_PROPERTIES_FILE);↵
|
11 | }↵ | | 12 | }↵
|
|
12 | /**↵ | | 13 | /**↵
|
13 | * return whether the sampler should read the response as a boolean value↵ | | 14 | * return the properties as boolean true/false.↵
|
14 | * ↵ | | 15 | * ↵
|
15 | * @return whether the sampler should read the response as a boolean value↵ | | 16 | * @return whether the sampler should use properties file instead of UI parameters.↵
|
16 | */↵ | | 17 | */↵
|
17 | public boolean getReadResponseAsBoolean() {↵ | | 18 | public boolean getUseJNDIPropertiesAsBoolean() {↵
|
18 | return getPropertyAsBoolean(READ_RESPONSE);↵ | | 19 | return getPropertyAsBoolean(USE_PROPERTIES_FILE);↵
|
19 | } | | 20 | }
|