jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Java script not executing
Date Tue, 12 Sep 2006 11:43:49 GMT
On 12/09/06, Richard Gaywood <richardgaywood@gmail.com> wrote:
> On 9/12/06, me_zeta <me_zeta@yahoo.com> wrote:
> >
> > I am using jmeter to test performance of my application. I request a jsp
> > page. in that page there is a script function which does a submit of the
> > form and goes to another page. But this javascript submit is not happening
> > while trying to test through jmeter. I am using 2.2 version.
> > please help
>
>
>
> JMeter does not attempt to do anything with the results of the HTTP sampler,
> including parsing returned HTML or XML, or executing returned javascript.

It can scan HTML for embedded resources such as images.

> Unless someone more knowledgeable than me is about to correct me, the best
> way to handle this is with some logic in the JMeter test plan that emulates
> the javascript functionality. For example, you may be able to run a couple
> of RegExp Extractors over the HTML page and construct a URL to POST to based
> on the values extracted.
>

Or use the JMeter proxy to record the test plan. This will only work
if the URL does not vary. If it does vary, then do as Richard says.

>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message