https://issues.apache.org/bugzilla/show_bug.cgi?id=56806

            Bug ID: 56806
           Summary: [simple data writer], [Linux], "~" does not work as
                    excepted
           Product: JMeter
           Version: 2.11
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

I used ${workdir}/testResult.txt in a simple data write
and the workdir is set as /home/ubuntu/jmeter/results

however, seems jmeter doesn't work as excepted
I checked the jemter.log and find that jmeter try to create a folder named
/home/ubuntu/${workdir}, it is strange

and I then took a look at jmeter source code, seems the defect is related to
the 
"org.apache.jmeter.services.resolveBaseRelativeName"

maybe in linux , the "~" will be resolved to user.dir before hand, so that any
dir under the user.dir will make expression
relativeName.startsWith(BASE_PREFIX) as True then jmeter will try to make a dir

the same issue does not repro in windows manchine, I am not tested old version,
but I believe it is a regression

and i think using ${workdir}/testResult.txt in sample test result and save
result under the user.dir is a common practice

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to