[Webtest] String manipulations in a Canoo script
Marc Guillemot <firstname.lastname@example.org>
Thu, 18 Sep 2008 10:08:36 +0200
just for my curiosity: do you want to perform a request that wouldn't
exist in a "normal" usage of your app?
With a Groovy (or script) step, you can access the properties and
manipulate them as you want.
Delphine Denis wrote:
> Dear all,
> I need to manipulate strings during my tests with Canoo, but I don't
> know how to do it...
> Are there functions, other than the one described on Canoo manual,
> available for this?
> Here is the description of my need:
> 1 - with a storeRegExp, I put this in my parameter:
> Here is my Canoo command:
> <storeRegEx text="http://www.myaddress.com/MailValidated.mj.*$"
> property="MyLink" />
> 2 - Then I need to manipulate MyLink, in order to take of the '3D' I've
> got after '='.
> But I don't know how I could manipulate strings with Canoo...
> Do you know how I could do that?
> Many thanks to all
> WebTest mailing list