Listener does not process user defined variable (containing groovy script) in distributed testing
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**JohnSmithWSTester** ([Bug 62008](https://bz.apache.org/bugzilla//show_bug.cgi?id=62008&redirect=false)):
Aggregate report listener has in filename the following variable :
${Current_Date}\10.csv
This variable is defined in User defined variables at the test plan level, where :
Current_Date = ${__groovy(new Date().format('yyyy-MM-dd'))}
Jmeter setup is following:
1 master a 3 remote machines. Master works in GUI mode and only collects data from other 3.
If the test runs locally, new folder is created as expected (e.g. 2018-01-17) but if ran in distributed mode, new folder is created with the name ${__groovy(new Date().format('yyyy-MM-dd'))}.
What brings me to conclusion that the config element (User Defined Variables) with groovy script is not executed according the the execution order while ran in distributed mode.
The script itself has been tested and works fine.
Severity: major
OS: All
Contributor guide
Assessment
This issue has not been assessed yet.