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 2018/06/21 09:17:31 UTC
[Bug 62478] New: Jmeter function problem Cannot handle comma
https://bz.apache.org/bugzilla/show_bug.cgi?id=62478
Bug ID: 62478
Summary: Jmeter function problem Cannot handle comma
Product: JMeter
Version: 4.0
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: blue414@163.com
Target Milestone: ---
Created attachment 35976
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35976&action=edit
bug
When the input string contains the comma "," the function does not work,
probably because the comma "," of the string conflicts with the comma of the
parameter
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62478] Jmeter function problem Cannot handle comma
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62478
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #3 from Felix Schumacher <fe...@internetallee.de> ---
OK. I misunderstood you.
You are right. The parameters taken from the dialog should be escaped.
Thanks for the insistence.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62478] Jmeter function problem Cannot handle comma
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62478
--- Comment #5 from blue414 <bl...@163.com> ---
:)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62478] Jmeter function problem Cannot handle comma
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62478
blue414 <bl...@163.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |FIXED
--- Comment #2 from blue414 <bl...@163.com> ---
I modified this code in functionHelper.java
"functionCall.append(arg.getValue().replace(",","\\,"));" solved the problem
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62478] Jmeter function problem Cannot handle comma
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62478
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Keywords| |FixedInTrunk
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62478] Jmeter function problem Cannot handle comma
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62478
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
OS| |All
Status|NEW |RESOLVED
--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
The use of commata is documented at
http://jmeter.apache.org/usermanual/functions.html#functions
Patches to the documentation to make it more clear are always welcome.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62478] Jmeter function problem Cannot handle comma
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62478
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |minor
Status|REOPENED |RESOLVED
Target Milestone|--- |JMETER_4.1
Resolution|--- |FIXED
--- Comment #4 from Felix Schumacher <fe...@internetallee.de> ---
Thanks for the report. Will be fixed in JMeter v4.1.
It would be great, if you could test the next nightly, if it fixes your
problem.
Date: Sat Jun 23 12:07:10 2018
New Revision: 1834192
URL: http://svn.apache.org/viewvc?rev=1834192&view=rev
Log:
Escape commata in parameters when constructing function strings in the GUI
function helper.
Bugzilla Id: 62478
Added:
jmeter/trunk/test/src/org/apache/jmeter/functions/gui/
jmeter/trunk/test/src/org/apache/jmeter/functions/gui/FunctionHelperSpec.groovy
(with props)
Modified:
jmeter/trunk/src/core/org/apache/jmeter/functions/gui/FunctionHelper.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.