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

            Bug ID: 63698
           Summary: JSR223 PostProcessor and prev
           Product: JMeter
           Version: 5.1.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.2

Hello,

While using a JSR223 post-processor, I realized that "prev.isSuccessful()"
doesn't work as expected.

I have an HTTP sampler, a response assertion, and this JSR223 groovy
PostProcessor.

When the sampler fails because of the response assertion, prev.isSuccessful()
return "true" !
I don't think this is the expected behavior.

If I remove this PostProcessor and add just after a JSR223 groovy sampler, then
prev.isSuccessful() works as expected. This is quite odd as prev should only
work in PostProcessors, isn't it ?


---
I also noticed that a JSR223 PreProcessor on a JSR223 Sampler does also not
work as expected (variable set or modified in preprocessor not visible in
sampler).

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

Reply via email to