1 | void threadFinished() {↵ | | 1 | void threadStarted() {↵
|
2 | if (bshInterpreter == null || !hasInitFile) {↵ | | 2 | if (bshInterpreter == null || !hasInitFile) {↵
|
3 | return;↵ | | 3 | return;↵
|
4 | }↵ | | 4 | }↵
|
5 | try {↵ | | 5 | try {↵
|
6 | bshInterpreter.evalNoLog("threadFinished()"); // $NON-NLS-1$↵ | | 6 | bshInterpreter.evalNoLog("threadStarted()"); // $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() {↵ | | 11 | public void threadFinished() {↵
|
12 | if (bshInterpreter == null || !hasInitFile) {↵ | | 12 | if (bshInterpreter == null || !hasInitFile) {↵
|
13 | return;↵ | | 13 | return;↵
|
14 | }↵ | | 14 | }↵
|
15 | try {↵ | | 15 | try {↵
|
16 | bshInterpreter.evalNoLog("testEnded()"); // $NON-NLS-1$↵ | | 16 | bshInterpreter.evalNoLog("threadFinished()"); // $NON-NLS-1$↵
|
17 | } catch (JMeterException ignored) {↵ | | 17 | } catch (JMeterException ignored) {↵
|
18 | log.debug(getClass().getName() + " : " + ignored.getLocalizedMessage()); // $NON-NLS-1$↵ | | 18 | log.debug(getClass().getName() + " : " + ignored.getLocalizedMessage()); // $NON-NLS-1$↵
|
19 | } ↵ | | 19 | } ↵
|
20 | } | | 20 | }
|