Bug 62008

Summary: Listener does not process user defined variable (containing groovy script) in distributed testing
Product: JMeter Reporter: JohnSmithWSTester
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: major    
Priority: P2    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description JohnSmithWSTester 2018-01-17 11:43:28 UTC
Aggregate report listener has in filename the following variable :


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.