You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Philippe Mouawad <p....@ubik-ingenierie.com> on 2016/10/07 09:13:36 UTC

Trim variables in CSV Data Set

Hello,
A common error made by newbies and other is to insert in variables names
spaces before varname, which leads to errors later when they use var name
without space.

For example:
variables=name, firstname

Requires to use ${ firstname} which is kind of weird.

I propose to make a trim on variables when parsing.

Ok for you ?
Thanks
Regards

Re: Trim variables in CSV Data Set

Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
+1

Antonio

2016-10-07 11:21 GMT+02:00 Felix Schumacher <
felix.schumacher@internetallee.de>:

>
>
> Am 7. Oktober 2016 11:18:55 MESZ, schrieb sebb <se...@gmail.com>:
> >On 7 October 2016 at 10:13, Philippe Mouawad
> ><p....@ubik-ingenierie.com> wrote:
> >> Hello,
> >> A common error made by newbies and other is to insert in variables
> >names
> >> spaces before varname, which leads to errors later when they use var
> >name
> >> without space.
> >>
> >> For example:
> >> variables=name, firstname
> >>
> >> Requires to use ${ firstname} which is kind of weird.
> >>
> >> I propose to make a trim on variables when parsing.
> >>
> >> Ok for you ?
> >
> >+1
> +1
>
> Do you intend to apply trimming to both?
>
> Regards,
> Felix
>
> >
> >> Thanks
> >> Regards
>
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
> gesendet.
>

Re: Trim variables in CSV Data Set

Posted by Felix Schumacher <fe...@internetallee.de>.

Am 7. Oktober 2016 11:18:55 MESZ, schrieb sebb <se...@gmail.com>:
>On 7 October 2016 at 10:13, Philippe Mouawad
><p....@ubik-ingenierie.com> wrote:
>> Hello,
>> A common error made by newbies and other is to insert in variables
>names
>> spaces before varname, which leads to errors later when they use var
>name
>> without space.
>>
>> For example:
>> variables=name, firstname
>>
>> Requires to use ${ firstname} which is kind of weird.
>>
>> I propose to make a trim on variables when parsing.
>>
>> Ok for you ?
>
>+1
+1

Do you intend to apply trimming to both?

Regards,
Felix

>
>> Thanks
>> Regards

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Re: Trim variables in CSV Data Set

Posted by sebb <se...@gmail.com>.
On 7 October 2016 at 10:13, Philippe Mouawad
<p....@ubik-ingenierie.com> wrote:
> Hello,
> A common error made by newbies and other is to insert in variables names
> spaces before varname, which leads to errors later when they use var name
> without space.
>
> For example:
> variables=name, firstname
>
> Requires to use ${ firstname} which is kind of weird.
>
> I propose to make a trim on variables when parsing.
>
> Ok for you ?

+1

> Thanks
> Regards

Re: Trim variables in CSV Data Set

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
Fixed in :
- https://bz.apache.org/bugzilla/show_bug.cgi?id=60221

Regards

On Fri, Oct 7, 2016 at 1:04 PM, Andrey Pokhilko <ap...@ya.ru> wrote:

> +1
>
> Andrey Pokhilko
>
> On 10/07/2016 12:13 PM, Philippe Mouawad wrote:
> > Hello,
> > A common error made by newbies and other is to insert in variables names
> > spaces before varname, which leads to errors later when they use var name
> > without space.
> >
> > For example:
> > variables=name, firstname
> >
> > Requires to use ${ firstname} which is kind of weird.
> >
> > I propose to make a trim on variables when parsing.
> >
> > Ok for you ?
> > Thanks
> > Regards
> >
>
>


-- 
Cordialement.
Philippe Mouawad.

Re: Trim variables in CSV Data Set

Posted by Andrey Pokhilko <ap...@ya.ru>.
+1

Andrey Pokhilko

On 10/07/2016 12:13 PM, Philippe Mouawad wrote:
> Hello,
> A common error made by newbies and other is to insert in variables names
> spaces before varname, which leads to errors later when they use var name
> without space.
>
> For example:
> variables=name, firstname
>
> Requires to use ${ firstname} which is kind of weird.
>
> I propose to make a trim on variables when parsing.
>
> Ok for you ?
> Thanks
> Regards
>