Bug 57277 - Make FileServer set a new property called 'base.dir'
Summary: Make FileServer set a new property called 'base.dir'
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.12
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Keywords: PatchAvailable
Depends on:
Reported: 2014-11-28 03:08 UTC by cheyne.wilson
Modified: 2014-11-28 21:19 UTC (History)
1 user (show)

Example patch to set the 'base.dir' property (6.42 KB, patch)
2014-11-28 03:08 UTC, cheyne.wilson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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