DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21891>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21891

Escaping ',' in __javaScript function does not work

           Summary: Escaping ',' in __javaScript function does not work
           Product: JMeter
           Version: 1.9.RC2
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The escaping of ','with a backslash does not work in case of the __javaScript
function (at least that's where I tried it). I wanted to define the following
function: 

${__javaScript(var zeit = new Date();(zeit.getDate() /
100).toString().substr(2\,2),heute)}

where I need to escape the ',' in the substr-method. It seems to me that the
parseParams method in the CompundVariable class does not handle this case
correctly. 

Best regards
Achim

P.S.: The bug is actually against 1.9.RC3

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to