Bug 65071 - Transaction Controller appears on View Results Tree and JMeter results file when using prev.setIgnore() in JSR223 Processor
Summary: Transaction Controller appears on View Results Tree and JMeter results file w...
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.4
Hardware: PC All
: P2 normal (vote)
Target Milestone: JMETER 5.4.1
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 21:33 UTC by mspingher
Modified: 2021-01-11 21:36 UTC (History)
1 user (show)



Attachments
Screenshot displaying Transaction Controller in View Results Tree while prev.setIgnore() is called in JSR223 PostProcessor (389.70 KB, image/jpeg)
2021-01-11 21:33 UTC, mspingher
Details
Sample test plan attached to verify and show the issue (20.16 KB, text/plain)
2021-01-11 21:35 UTC, mspingher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mspingher 2021-01-11 21:33:57 UTC
Created attachment 37696 [details]
Screenshot displaying Transaction Controller in View Results Tree while prev.setIgnore() is called in JSR223 PostProcessor

Hello,

When using prev.setIgnore() in a JSR223 PostProcessor, it is not working as intended on JMeter 5.4 when attached under an HTTP Request sampler with a Transaction Controller at the parent level with/without 'Generate parent sample' checked. The Transaction Controller name still shows up in View Results Tree and in the JMeter results file.

JMeter version - 5.4 and 5.4.1-SNAPSHOT 9841a2a (Build #176 Dec 18, 2020 11:24:49 PM)
Java version - 1.8.0_251
OS version - Windows 10 64-Bit (Build 19041)

Reproduction Steps -
1. Add a JSR223 PostProcessor to an HTTP Request sampler with a Transaction Controller at the parent level (with/without 'Generate parent sample' checked), select Groovy 3.0.5 as the scripting language and in the script call prev.setIgnore().
2. Switch to the View Results Tree and run the script.
3. Verify if the HTTP Request sample appears in the View Results Tree.
4. Open the JMeter results file and verify if an entry for that HTTP Request was written to the results file.

prev.setIgnore() works as intended on JMeter 4.0 r1823414.

Followed up from Bug [65008] which is similar but may not be related.

Thank you,
-mspingher (mspingher at visionpointsystems.com)
Comment 1 mspingher 2021-01-11 21:35:01 UTC
Created attachment 37697 [details]
Sample test plan attached to verify and show the issue