You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2019/08/26 13:22:43 UTC

[Bug 63698] New: JSR223 PostProcessor and prev

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: issues@jmeter.apache.org
          Reporter: youri.andropov@gmail.com
  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.

[Bug 63698] JSR223 PostProcessor and prev

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63698

Frederic Girard <yo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED

--- Comment #3 from Frederic Girard <yo...@gmail.com> ---
Ok thanks for this documentation extract, this is finally not a bug.

For the second point, I couldn't reproduce this issue, so consider it closed.
I'll update if needed.

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

[Bug 63698] JSR223 PostProcessor and prev

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63698

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
And have a look at
https://jmeter.apache.org/usermanual/test_plan.html#executionorder

Assertions are evaluated after the post processors.

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

[Bug 63698] JSR223 PostProcessor and prev

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63698

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Thanks for the report, please provide a minimal test plan that shows the
described behavior.

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

[Bug 63698] JSR223 PostProcessor and prev

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63698

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |WORKSFORME
   Target Milestone|JMETER_5.2                  |---
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

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