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

            Bug ID: 54763
           Summary: FTP Request: Using a variable being set with a regular
                    expression extractor as a parameter for Remote Fail
                    field fails
           Product: JMeter
           Version: 2.9
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

If a variable being set using a regular expression extractor, doesn't get
substituted when passed in as a parameter for the field "Remote File:" in "FTP
Request"

Steps to reproduce:
1. Use a regular expression extractor in a blank test plan to set a variable
X(Reference Name)
ex: X = me.jpg. In my scenario I am reading file paths from a txt file and
extracting the file names using a regular expression extractor and setting them
to a variable

2. Add a sampler "FTP Request" and pass in the Variable X into the field
"Remote File:"
ex: Remote File: ${X}

3. Set the FTP Request to "PUT"

4. Add Debug Sampler, Results Tree and run your test

Result: Request for the FTP will look like:
ftp://localhost/${X} (Binary)  <- C:\Users\me\Desktop\me.jpg

instead of:
ftp://localhost/me.jpg (Binary)  <- C:\Users\me\Desktop\me.jpg

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

Reply via email to