apache / apache/jmeter

Transaction Controller appears on View Results Tree and JMeter results file when using prev.setIgnore() in JSR223 Processor

Open
#5,486 2 comments 1 reaction 0 assignees View on GitHub
os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**mspingher** ([Bug 65071](https://bz.apache.org/bugzilla//show_bug.cgi?id=65071&redirect=false)):
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)

Created attachment [prevSetIgnore.jpg](https://apache.github.io/jmeter-bugzilla-attachments/71/65071/37696/prevSetIgnore.jpg): Screenshot displaying Transaction Controller in View Results Tree while prev.setIgnore() is called in JSR223 PostProcessor

Screenshot displaying Transaction Controller in View Results Tree while prev.setIgnore() is called in JSR223 PostProcessor

Severity: normal
OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.