Bug 65175 - Result Status Action Handler when set to 'Continue' is not overriding the 'Action to be taken after a Sampler error' in Thread Group
Summary: Result Status Action Handler when set to 'Continue' is not overriding the 'Ac...
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.4.1
Hardware: PC
: P2 normal (vote)
Target Milestone: JMETER 5.4.1
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-09 00:10 UTC by mark.pilon
Modified: 2021-03-09 00:10 UTC (History)
0 users



Attachments
Jmx file that illustrates the issue (9.06 KB, application/xml)
2021-03-09 00:10 UTC, mark.pilon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mark.pilon 2021-03-09 00:10:57 UTC
Created attachment 37765 [details]
Jmx file that illustrates the issue

Hello, I have an possible bug with the Result Status Action Handler in JMeter 5.4.1.

Test Case
- My Thread Group's 'Action to be taken after a Sampler error' is 'Start Next Thread Group'.  My loop count is 2.
- I have three HTTP Samplers each going to google.com, google.com/xyz (which is expected to fail with 404), and google.com//services respectively.
- I have a 'Result Status Action Handler' set to Continue that is at the same level as the HTTP Samplers (ie at the root of the Thread Group).

Expected result:
- Sampler for google.com should pass
- Sampler for google.com/xyz fails but continues
- Sampler for google.com/services should pass
- Loop 1 ends
- Sampler for google.com should pass
- Sampler for google.com/xyz fails but continues
- Sampler for google.com/services should pass
- Loop 2 ends
- Test stops

Actual Result:
- Sampler for google.com should pass
- Sampler for google.com/xyz fails
- Loop 1 ends without executing google.com/services
- Sampler for google.com should pass
- Sampler for google.com/xyz fails
- Loop 2 ends without executing google.com/services
- Test stops

I think the problem may only be with the 'Continue' option in 'Result Status Action Handler' since every other option seems to stand up under test.

For example, if I have the same test case but set 'Result Status Action Handler' set to 'Stop Test' the test acts as expected.
- Sampler for google.com should pass
- Sampler for google.com/xyz fails and the test stops
- Loop 2 is not executed

I've attached the jmx file which illustrates the problem.

Thanks,
Mark