https://bz.apache.org/bugzilla/show_bug.cgi?id=62105
Felix Schumacher <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #1 from Felix Schumacher <[email protected]> --- The error you see is probably: Both script file and script text are empty for element:JSR223 Sampler This is a hint that you haven't given the Sampler a script to execute. Not giving a script (or empty script) is an error in my opinion, so the warning is OK. The case where you think the script works is in fact not the script, that is working, but the preprocessing of the given text. JMeter will process the input before handing it to the JSR223 Script Engine. This processing works and the property will be set. But the complete ${__setProperty(...)} part will be replaced by "" and thus the input will be empty... ...except for the newline (cases 2 and 4). In those cases the check for emptiness doesn't work (which could probably filed as a bug) and this leads you to the wrong conclusion thinking the script "works". If you still think this is a bug, feel free to reopen this report, after discussing it on the users mailing list. -- You are receiving this mail because: You are the assignee for the bug.
