1 | void testEnded() {↵ | | 1 | void testStarted() {↵
|
2 | if (bshInterpreter == null || !hasInitFile) {↵ | | 2 | if (bshInterpreter == null || !hasInitFile) {↵
|
3 | return;↵ | | 3 | return;↵
|
4 | }↵ | | 4 | }↵
|
5 | try {↵ | | 5 | try {↵
|
6 | bshInterpreter.evalNoLog("testEnded()"); // $NON-NLS-1$↵ | | 6 | bshInterpreter.evalNoLog("testStarted()"); // $NON-NLS-1$↵
|
7 | } catch (JMeterException ignored) {↵ | | 7 | } catch (JMeterException ignored) {↵
|
8 | log.debug(getClass().getName() + " : " + ignored.getLocalizedMessage()); // $NON-NLS-1$↵ | | 8 | log.debug(getClass().getName() + " : " + ignored.getLocalizedMessage()); // $NON-NLS-1$↵
|
9 | } ↵ | | 9 | } ↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void testEnded(String host) {↵ | | 11 | public void testStarted(String host) {↵
|
12 | if (bshInterpreter == null || !hasInitFile) {↵ | | 12 | if (bshInterpreter == null || !hasInitFile) {↵
|
13 | return;↵ | | 13 | return;↵
|
14 | }↵ | | 14 | }↵
|
15 | try {↵ | | 15 | try {↵
|
16 | bshInterpreter.eval((new StringBuffer("testEnded(")) // $NON-NLS-1$↵ | | 16 | bshInterpreter.eval((new StringBuffer("testStarted(")) // $NON-NLS-1$↵
|
17 | .append(host)↵ | | 17 | .append(host)↵
|
18 | .append(")") // $NON-NLS-1$↵ | | 18 | .append(")") // $NON-NLS-1$↵
|
19 | .toString()); // $NON-NLS-1$↵ | | 19 | .toString()); // $NON-NLS-1$↵
|
20 | } catch (JMeterException ignored) {↵ | | 20 | } catch (JMeterException ignored) {↵
|
21 | log.debug(getClass().getName() + " : " + ignored.getLocalizedMessage()); // $NON-NLS-1$↵ | | 21 | log.debug(getClass().getName() + " : " + ignored.getLocalizedMessage()); // $NON-NLS-1$↵
|
22 | } ↵ | | 22 | } ↵
|
23 | | | 23 |
|