Generate Parent Sample not working in version 5.6.2 while in CLI Mode
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
### Expected behavior
In CLI Mode the output results in a jtl or csv file should be rolled up into a parent not all children when Generate Parent Sample is selected on a Transaction Controller. Note: This works fine in GUI Mode but not in CLI Mode?
### Actual behavior
There is one parent and hundereds of children in the CLI Mode.
### Steps to reproduce the problem
Create a Performance Script with the following:
1. Add Thread with a number of users/threads
2. Add Transaction Controller with Generate Parent ticked
3. Add a http request
4. Add a Regular Expression Extractor to pull out selected data from the first http request
5. Add a ForEach Controller with a http request using whats coming out of the Regular Expression Extractor.
Note: This works perfectly when run in GUI mode, when in CLI Mode you get a lots of children and no parent.
### JMeter Version
5.6.2
### Java Version
1.8.0.331
### OS Version
Microsoft Server 2012 R2 Standard
Contributor guide
Research direction
Start by reproducing the issue with JMeter 5.6.2 in CLI mode using a Transaction Controller, HTTP request, Regular Expression Extractor, and ForEach Controller, then compare the JTL or CSV results with GUI mode. Trace how Generate Parent Sample affects result output in each mode. Done means CLI output contains the parent sample without the hundreds of child samples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli, performance, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100