https://bz.apache.org/bugzilla/show_bug.cgi?id=65560

Felix Schumacher <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Felix Schumacher <[email protected]> ---
This question is more about the usage of JMeter than a bug. A question on the
users mailing list would have been better.

The prev variable is available inside the script-field of the JSR223 Sampler,
but not outside.

Your expression is outside the script-field and thus has no access to the prev
variable. You might be able to access the value by using the expression

 org.apache.jmeter.threads.JMeterContextService.context.previousResult

instead.

Another workaround would be to use a separate extraction step before the JSR223
component (maybe a JSON extractor).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to