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/10/30 21:56:45 UTC

[Bug 57169] New: variables will not evaluate if Name contains un-closed paretheses

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

            Bug ID: 57169
           Summary: variables will not evaluate if Name contains un-closed
                    paretheses
           Product: JMeter
           Version: 2.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: fmatthewhudson@gmail.com

If a Name field contains a left parentheses that is not terminated with a right
parentheses the variables will not evaluate within Jmeter.  Specifically I
found this with a REST sampler but it is probably pervasive over all Jmeter add
components that have a NAME field.  I did also check and it is a problem with
FTP sampler as well.

example name that will cause this issue:
Test script ${__P(CNT}

The sampler name should not interfere with the evaluation of variables within
the sampler.

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

[Bug 57169] variables will not evaluate if Name contains un-closed paretheses

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

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

[Bug 57169] variables will not evaluate if Name contains un-closed paretheses

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

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
I probably don't understand your request correctly. JMeter will try to replace
every function looking string - that begins with "${". If the content in
between "${" and "}" is not well formed, it will choke.

If you want to send "${...}" literally to a server, you can escape the "$" with
a backslash as "\$". If not, than the content has to be well formed.

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

[Bug 57169] variables will not evaluate if Name contains un-closed paretheses

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Closing as we go no feedback after Felix answer.
@Matthew, feel free to reopen with more details.
Thanks

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