apache / apache/jmeter

Clean up inconsistencies in relative file handling

Open
#5,424 0 comments 0 reactions 0 assignees View on GitHub
enhancement os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Michael Osipov** ([Bug 64841](https://bz.apache.org/bugzilla//show_bug.cgi?id=64841&redirect=false)):
Many elements like CSV Dataset, Include Controller, Script Filename and others take in a relative filename, but they handle them inconsistently. Some use the JMeter script's basedir while others use 'user.dir'. This should be consistently used troughout with the basedir of the JMeter script to support module setups.

For instance, repeating Groovy Pre/Post Processors cannot be reused because I cannot properly reference a Groovy file relative to the script.

This likey can only be resolved for 6.0.

OS: All

Contributor guide

Open the contributing guide

Research direction

Review relative filename handling in the CSV Dataset, Include Controller, Script Filename, and Groovy Pre/Post Processors, starting with how each resolves paths. Compare their use of the JMeter script basedir versus user.dir. Done means these elements consistently resolve relative files from the script basedir, including reusable Groovy files for module setups.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.