jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shmuel Krakower <shmul...@gmail.com>
Subject Re: Regular expression extractor with default value of "" / nothing
Date Mon, 13 Aug 2012 06:44:04 GMT
Thanks again - but it behaves like I left the default value empty - thus
the variable is not set.
I will work around it with a BSF pre processor to set the variable to an
empty string I guess...

On Sun, Aug 12, 2012 at 7:30 PM, Shay Ginsbourg <sginsbourg@gmail.com>wrote:

> ${__javaScript('')}
>
>
>
>
>
> On Sun, Aug 12, 2012 at 7:16 PM, Shmuel Krakower <shmulikk@gmail.com>
> wrote:
> > Thanks for the quick response but it doesn't work for me:
> >
> > java.net.URISyntaxException: Illegal character in query at index 81:
> >
> http:/.../__services/v2/rest/bookmarks?filterGroupID=bookmarks&token=""&...
> >
> >
> > I need:
> > http:/.../__services/v2/rest/bookmarks?filterGroupID=bookmarks&token=&...
> >
> > Best,
> > Shmuel.
> >
> > On Sun, Aug 12, 2012 at 6:59 PM, Shay Ginsbourg <sginsbourg@gmail.com
> >wrote:
> >
> >> DEFAULT = ""
> >>
> >>
> >>
> >> On Sun, Aug 12, 2012 at 6:51 PM, Shmuel Krakower <shmulikk@gmail.com>
> >> wrote:
> >> >
> >> > Hi,
> >> > I am using a regular expression extractor.
> >> > I need the default value to be empty i.e. "" if nothing matched the
> >> regex,
> >> > but if I leave the default value empty - than the variable is not set
> and
> >> > any reference to fails, i.e the value of ${token} remains ${token}
> >> instead
> >> > of empty string.
> >> >
> >> > What can I do?
> >> >
> >> > Best,
> >> > Shmuel Krakower.
> >>
> >>
> >>
> >>
> >> --
> >>
> >> Regards,
> >>
> >>
> >> Shay Ginsbourg
> >>
> >> Regulatory & Testing Affairs Consultant
> >>
> >>
> >> WWW.GINSBOURG.COM
> >>
> >>
> >> Providing Regulatory, Medical & Performance Testing services since 2008:
> >>
> >>
> >> * IEC 62304 Medical Device Software Life Cycle
> >>
> >> * IEEE 829 Software Test Documentation
> >>
> >> * ISO 14971 Medical Device Risk Management
> >>
> >> * FDA 21 CFR Part 11 Software Validation
> >>
> >> * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment
> >>
> >> * End-to-end verification, validation, and testing (VV&T)
> >>
> >> * FDA and CE submissions
> >>
> >> * Open source free testing tools implementation
> >>
> >> * Functionality and regression testing
> >>
> >> * Software Performance & Load testing
> >>
> >> * Software Testing Advanced Automation
> >>
> >> * Medical Software Verification & Validation
> >>
> >> * Medical Device Verification & Validation
> >>
> >> * Medical Device Regulatory Submission
> >>
> >> * Organizational Regulatory Qualification
> >>
> >>
> >> Formerly QA Manager of LoadRunner at Mercury Interactive
> >>
> >>
> >> M.Sc. cum laude in Bio-Medical Engineering
> >>
> >> M.Sc. in Mechanical Engineering
> >>
> >>
> >> Work:   +972(0)3-5185873
> >>
> >> Mobile:  +972(0)54-6690915
> >>
> >>
> >> Email: sginsbourg@gmail.com
> >>
> >>
> >> Visit my personal page on LinkedIn at:
> >> http://www.linkedin.com/in/shayginsbourg
> >>
> >>
> >> Please consider your environmental responsibility before printing this
> >> e-mail.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> >> For additional commands, e-mail: user-help@jmeter.apache.org
> >>
> >>
>
>
>
> --
> Regards,
>
>
> Shay Ginsbourg
>
> Regulatory & Testing Affairs Consultant
>
>
> WWW.GINSBOURG.COM
>
>
> Providing Regulatory, Medical & Performance Testing services since 2008:
>
>
> * IEC 62304 Medical Device Software Life Cycle
>
> * IEEE 829 Software Test Documentation
>
> * ISO 14971 Medical Device Risk Management
>
> * FDA 21 CFR Part 11 Software Validation
>
> * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment
>
> * End-to-end verification, validation, and testing (VV&T)
>
> * FDA and CE submissions
>
> * Open source free testing tools implementation
>
> * Functionality and regression testing
>
> * Software Performance & Load testing
>
> * Software Testing Advanced Automation
>
> * Medical Software Verification & Validation
>
> * Medical Device Verification & Validation
>
> * Medical Device Regulatory Submission
>
> * Organizational Regulatory Qualification
>
>
> Formerly QA Manager of LoadRunner at Mercury Interactive
>
>
> M.Sc. cum laude in Bio-Medical Engineering
>
> M.Sc. in Mechanical Engineering
>
>
> Work:   +972(0)3-5185873
>
> Mobile:  +972(0)54-6690915
>
>
> Email: sginsbourg@gmail.com
>
>
> Visit my personal page on LinkedIn at:
> http://www.linkedin.com/in/shayginsbourg
>
>
> Please consider your environmental responsibility before printing this
> e-mail.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message