You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/03/28 21:24:46 UTC
[Bug 54763] New: FTP Request: Using a variable being set with a
regular expression extractor as a parameter for Remote Fail field fails
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: issues@jmeter.apache.org
Reporter: raghupatibandla@gmail.com
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.
[Bug 54763] FTP Request: Using a variable being set with a regular
expression extractor as a parameter for Remote Fail field fails
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54763
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54763] FTP Request: Using a variable being set with a regular
expression extractor as a parameter for Remote Fail field fails
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54763
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |p.mouawad@ubik-ingenierie.c
| |om
Resolution|--- |WORKSFORME
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
As attached test plan shows it, it works for me.
Maybe check extraction was fine using a debug sampler before ftp sampler.
Feel free to open with more details
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54763] FTP Request: Using a variable being set with a regular
expression extractor as a parameter for Remote Fail field fails
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54763
rag1998 <ra...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |raghupatibandla@gmail.com
OS| |All
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54763] FTP Request: Using a variable being set with a regular
expression extractor as a parameter for Remote Fail field fails
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54763
rag1998 <ra...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WORKSFORME |INVALID
--- Comment #3 from rag1998 <ra...@gmail.com> ---
Thanks for the attachment, that helped a lot with determining what I was doing
wrong..
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54763] FTP Request: Using a variable being set with a regular
expression extractor as a parameter for Remote Fail field fails
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54763
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 30120
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30120&action=edit
Test Plan showing it works
--
You are receiving this mail because:
You are the assignee for the bug.