Here's a little write up...

See if it helps a bit

http://automationwithselenium.blogspot.co.uk/2012/02/regular-expression-extractor-testing.html


cheers,
s

On Wed, Aug 8, 2012 at 7:09 AM, Niraj <[email protected]> wrote:

> Hey Rajeev,
>
> I faced similar kind of issue
>
> This what i was getting in request1 response  negwZpYrTeF87bx%2F
> pCgyzpctt1%2Bb68Rup%2FAkJA%3DMk
>
> This what i need to pass in my next request: negwZpYrTeF87bx/
> pCgyzpctt1+b68Rup/A=kJAMk
>
> Past this function in second request where that value is used.
> ${__javaScript(myOutput=encodeURIComponent('${URL}');,myOutput)}
>
> Let me know if it works.
>
> Thanks,
> Niraj
>
>
> On Wed, Aug 8, 2012 at 11:10 AM, Rajeev Ranjan16 <
> [email protected]> wrote:
>
> > Hi,
> >
> >
> >
> > We are working on a project that requires us to extract encoded URLs to
> be
> > passed on as a parameter to the next request.
> >
> >
> >
> > Can somebody advice what is the best way to deal with this? We tried
> > extracting dynamic data but the data is encoded. How do we decode this
> > properly and pass it on to the next request?
> >
> >
> >
> > Decoder and encoder of URLs available in Google didn't helped us.
> >
> >
> >
> > Any solutions available through Jmeter which can help us.
> >
> >
> >
> > Any solutions or suggestions appreciated.
> >
> >
> >
> > Regards,
> >
> > Rajeev
> >
> >
> > **************** CAUTION - Disclaimer *****************
> > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> > solely
> > for the use of the addressee(s). If you are not the intended recipient,
> > please
> > notify the sender by e-mail and delete the original message. Further, you
> > are not
> > to copy, disclose, or distribute this e-mail or its contents to any other
> > person and
> > any such actions are unlawful. This e-mail may contain viruses. Infosys
> > has taken
> > every reasonable precaution to minimize this risk, but is not liable for
> > any damage
> > you may sustain as a result of any virus in this e-mail. You should carry
> > out your
> > own virus checks before opening the e-mail or attachment. Infosys
> reserves
> > the
> > right to monitor and review the content of all messages sent to or from
> > this e-mail
> > address. Messages sent to or from this e-mail address may be stored on
> the
> > Infosys e-mail system.
> > ***INFOSYS******** End of Disclaimer ********INFOSYS***
> >
>

Reply via email to