https://issues.apache.org/bugzilla/show_bug.cgi?id=52031
Bug #: 52031
Summary: Allow BSF and JSR223 test elements to share
interpreters
Product: JMeter
Version: 2.5.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
At present, the BSF and JSR223 test elements recreate the interpreter for each
invocation.
[Whereas the BeanShell elements save the interpreter between invocations]
This makes it difficult to retain context across invocations.
It would be useful to be able to share the interpreter.
There are several possibilities:
1) save the interpreter in the test element instance (as for BeanShell)
This would reuse the interpreter across test loops, but not between different
test elements (sampler and assertion would use different interpreters).
2) save the interpreter in a static threadLocal field
This would allow sharing across all test elements of the same type or
potentially across all test elements, depending where the field was defined.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]