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 2014/01/29 01:57:25 UTC

[Bug 56083] New: urlencode does not support variables loaded from csv

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

            Bug ID: 56083
           Summary: urlencode does not support variables loaded from csv
           Product: JMeter
           Version: 2.11
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: sworisbreathing@gmail.com

Created attachment 31268
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31268&action=edit
minimal test case

User-defined variables can be escaped via ${__urlencode(${udv})}. However, it
appears that variables loaded from CSV files are not escaped, and
${__urlencode(${csv})} encodes the literal string "${csv}".

Attached is a minimal test case showing the differences between the two.

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

[Bug 56083] urlencode does not support variables loaded from csv

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56083

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Sebb <se...@apache.org> ---
That is because the CSV variable is not defined at the point when the function
is evaluated.

If a variable reference is not defined, then it is left unchanged.

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

[Bug 56083] urlencode does not support variables loaded from csv

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56083

--- Comment #3 from Sebb <se...@apache.org> ---
Bugzilla is not intended as a support forum.

Please subscribe to the user list and ask there.

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

[Bug 56083] urlencode does not support variables loaded from csv

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56083

--- Comment #2 from Steven Swor <sw...@gmail.com> ---
(In reply to Sebb from comment #1)
> ...the CSV variable is not defined at the point when the
> function is evaluated.

Wouldn't the CSV variables (defined before the thread groups in the test plan)
be loaded before the user-defined variables (defined within the thread groups)?

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

[Bug 56083] urlencode does not support variables loaded from csv

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56083

Steven Swor <sw...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

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