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 2017/10/17 18:02:06 UTC
[Bug 61626] New: __splitString behaviour is not intuitive and
documentation is not explicit enough
https://bz.apache.org/bugzilla/show_bug.cgi?id=61626
Bug ID: 61626
Summary: __splitString behaviour is not intuitive and
documentation is not explicit enough
Product: JMeter
Version: 3.3
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: p.mouawad@ubik-ingenierie.com
Target Milestone: ---
__splitString has a counter intuitive behaviour when separator is "," (default
one).
Problem 1:
Indeed, the String to split would need to be escaped which is in fact rarely
the case when you need this function ?
Will String really contain:
"a\,b\,c"
Or :
"a,b,c"
Problem 2:
Also, when you by error input this:
${__split(a\,b\,c,varSplit,)}
It doesn't work because function uses empty separator which is wrong, as
documentation says this parameter defaults to ",". So function should just
ignore this empty .
Problem 2 can be fixed.
How to fix problem 1 ?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61626] __splitString behaviour is not intuitive and
documentation is not explicit enough
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61626
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Oups wrong commit
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61626] __splitString behaviour is not intuitive and
documentation is not explicit enough
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61626
--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Problem 2 fixed in Bug 61628
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61626] __splitString behaviour is not intuitive and
documentation is not explicit enough
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61626
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61626] __splitString behaviour is not intuitive and
documentation is not explicit enough
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61626
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Tue Oct 17 19:31:46 2017
New Revision: 1812445
URL: http://svn.apache.org/viewvc?rev=1812445&view=rev
Log:
Bug 61628 - If split string has empty separator default separator is not used
Bugzilla Id: 61628
Modified:
jmeter/trunk/src/functions/org/apache/jmeter/functions/SplitFunction.java
jmeter/trunk/test/src/org/apache/jmeter/functions/SplitFunctionTest.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.