On Mon, 14 Mar 2005 19:00:32 +0000, Guillaume Lahitette <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use JMeter to test a page where: > a.. a form (see below) is being assembled > a.. a textarea contains an XML string > b.. this form is posted (to retrieve an image) using JavaScript > My questions: > a.. JMeter didn't process the JavaScript that does the form submission. Any > chance of getting this to work?
No. Jmeter does not process javascript code at present. > b.. Until I know how to do the above, I add a separate "HTTP Request" to do > the form submission "manually". I use a Regular Yes, that's how it has to be done. > Expression Extractor to grab this XML string I need to post (with other HTTP > params). My regular expression is (see HTML below): > border:0px;">(.+?)</textarea>. Can the regular expression match a string that > spans multiple lines? Yes - see the Manual page for Response Assertion: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Response_Assertion This has some info on regex modifiers - you probably need to use something like: (?s)border:0px;">(.+?)</textarea> > I'll keep trying...but your help is very much appreciated ;) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

