Bug 57277

Summary: Make FileServer set a new property called 'base.dir'
Product: JMeter - Now in Github Reporter: cheyne.wilson
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: enhancement CC: p.mouawad
Priority: P2 Keywords: PatchAvailable
Version: 2.12   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Example patch to set the 'base.dir' property

Description cheyne.wilson 2014-11-28 03:08:25 UTC
Created attachment 32235 [details]
Example patch to set the 'base.dir' property

We have multiple test scripts and like to include other files relative to the location of these test scripts. Some elements (e.g CSV dataset) allow the user of ~/ to include files relative to the script. Some listeners and processors and custom plugins either don't support this (e.g JRS223 post processor) or seem to interpret ~/ differently.

Setting the property 'base.dir' as part of the FileServer would allow us to script relative paths for components that don't natively support them.
Comment 1 The ASF infrastructure team 2022-09-24 20:37:58 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3489