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 -
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().
Switch to the View Results Tree and run the script.
Verify if the HTTP Request sample appears in the View Results Tree.
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)
Created attachment prevSetIgnore.jpg: Screenshot displaying Transaction Controller in View Results Tree while prev.setIgnore() is called in JSR223 PostProcessor
mspingher (Bug 65071): 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 -
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)
Created attachment prevSetIgnore.jpg: Screenshot displaying Transaction Controller in View Results Tree while prev.setIgnore() is called in JSR223 PostProcessor
Severity: normal OS: All