You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by SAS <sa...@gmail.com> on 2018/10/10 12:35:50 UTC

Regular Expression extractor question

Hi Team,

I am working on developing a framework for web service testing.  came
across an issue where, I want to use a variable name as a flag name.

for example,
<accountNumber>(.+?)<

in this case, "accountNumber" text is stored in variable 'Temp' and I want
to pass it to regular expression as
<"${Temp}">(.+?)<

I am having a challenge when I tried the above approach.  appreciate your
help !!

Thanks

Thanks
SASTRY

Re: Regular Expression extractor question

Posted by SAS <sa...@gmail.com>.
Thank you so much for the quick solution.

On Wed, Oct 10, 2018, 09:42 Shay Ginsbourg <sg...@gmail.com> wrote:

> <"\$\{Temp\}">(.+?)<
>
>
> [image: Mailtrack]
> <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&
> >
> Sender
> notified by
> Mailtrack
> <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&
> >
> 10/10/18,
> 4:41:21 PM
>
> On Wed, Oct 10, 2018 at 3:36 PM SAS <sa...@gmail.com> wrote:
>
> > Hi Team,
> >
> > I am working on developing a framework for web service testing.  came
> > across an issue where, I want to use a variable name as a flag name.
> >
> > for example,
> > <accountNumber>(.+?)<
> >
> > in this case, "accountNumber" text is stored in variable 'Temp' and I
> want
> > to pass it to regular expression as
> > <"${Temp}">(.+?)<
> >
> > I am having a challenge when I tried the above approach.  appreciate your
> > help !!
> >
> > Thanks
> >
> > Thanks
> > SASTRY
> >
>
>
> --
>
> Sincerely,
>
> *Shay Ginsbourg*
> *Performance, Automation and Load Testing Expert. *
> *​Regulatory Affairs Consultant​ for Medical Software​.*
> *Ginsbourg.com (Since 2008)*
>
> Formerly QA Manager of LoadRunner at Mercury Interactive
>
> M.Sc. cum laude in Bio-Medical Engineering
> M.Sc. in Mechanical Engineering
>
> Mobile:  +972(0)54-6690915
> Email: sginsbourg@gmail.com
>
> Visit my personal page on LinkedIn at:
> http://www.linkedin.com/in/shayginsbourg
>
>
> [image: Shay Ginsbourg on about.me]
>
> Shay Ginsbourg
> about.me/shayginsbourg
>   <http://about.me/shayginsbourg>Please consider your environmental
> responsibility before printing this e-mail.
>

Re: Regular Expression extractor question

Posted by Shay Ginsbourg <sg...@gmail.com>.
<"\$\{Temp\}">(.+?)<


[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality6&>
10/10/18,
4:41:21 PM

On Wed, Oct 10, 2018 at 3:36 PM SAS <sa...@gmail.com> wrote:

> Hi Team,
>
> I am working on developing a framework for web service testing.  came
> across an issue where, I want to use a variable name as a flag name.
>
> for example,
> <accountNumber>(.+?)<
>
> in this case, "accountNumber" text is stored in variable 'Temp' and I want
> to pass it to regular expression as
> <"${Temp}">(.+?)<
>
> I am having a challenge when I tried the above approach.  appreciate your
> help !!
>
> Thanks
>
> Thanks
> SASTRY
>


-- 

Sincerely,

*Shay Ginsbourg*
*Performance, Automation and Load Testing Expert. *
*​Regulatory Affairs Consultant​ for Medical Software​.*
*Ginsbourg.com (Since 2008)*

Formerly QA Manager of LoadRunner at Mercury Interactive

M.Sc. cum laude in Bio-Medical Engineering
M.Sc. in Mechanical Engineering

Mobile:  +972(0)54-6690915
Email: sginsbourg@gmail.com

Visit my personal page on LinkedIn at:
http://www.linkedin.com/in/shayginsbourg


[image: Shay Ginsbourg on about.me]

Shay Ginsbourg
about.me/shayginsbourg
  <http://about.me/shayginsbourg>Please consider your environmental
responsibility before printing this e-mail.