1 | try {↵ | | 1 | try {↵
|
2 | // Add variables for access to context and variables↵ | | 2 | // Add variables for access to context and variables↵
|
3 | bshInterpreter.set("ctx", jmctx);//$NON-NLS-1$↵ | | 3 | bshInterpreter.set("ctx", jmctx);//$NON-NLS-1$↵
|
4 | bshInterpreter.set("vars", vars);//$NON-NLS-1$↵ | | 4 | bshInterpreter.set("vars", vars);//$NON-NLS-1$↵
|
5 | bshInterpreter.set("prev", prev);//$NON-NLS-1$↵ | | 5 | bshInterpreter.set("sampler", sam);//$NON-NLS-1$↵
|
6 | bshInterpreter.set("data", prev.getResponseData());//$NON-NLS-1$↵ | | 6 | bshInterpreter.set("prev", prev);//$NON-NLS-1$↵
|
| | | 7 | ↵
|
7 | processFileOrScript(bshInterpreter);↵ | | 8 | processFileOrScript(bshInterpreter);↵
|
8 | } catch (JMeterException e) {↵ | | 9 | } catch (JMeterException e) {↵
|
9 | log.warn("Problem in BeanShell script "+e);↵ | | 10 | log.warn("Problem in BeanShell script "+e);↵
|
10 | | | 11 |
|