|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Javascript and load testingThe site I'm working with is run primarily with
javascript. With javascript off in htmlunit, the only way to traverse the
site is to keep using the command webClient.getPage(URL) 1. Do I need javascript on in htmlunit to
generate load for a load test? 2. If I have it off does that change the amount
of load created? Chad
Bellan LUSIGHT RESEARCH t. +1.416.934.7253 Please visit us at www.lusight.com This message is confidential and may be privileged. If you
are not the intended recipient, we kindly ask you to inform the sender.
Any un-authorized dissemination or copying hereof is prohibited. This
message serves for information purposes only and shall not have any legally
binding effect. Given that e-mails can easily be subject to manipulation,
we can not accept any liability for the content provided. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Htmlunit-user mailing list Htmlunit-user@... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
|
|
Re: Javascript and load testingHi Chad,
if your website works correctly when JS is disabled on the client, then you can disable JS in HtmlUnit for your tests if you want. If you want to perform load testing, HtmlUnit will need less resources if you disable JS on the client side but, doing this, you may test something else, eventually something that don't interest you. Whether the difference of resource usage matters here or not depends from case to case: you may hit other limits before having problems with CPU time. I don't understand what you mean with "the only way to traverse the site is to keep using the command webClient.getPage(URL)". Navigating through a site is normally done by calling methods like click() to simulate what a "normal" user would do. cheers, Marc. Chad Bellan a écrit : > The site I'm working with is run primarily with javascript. With > javascript off in htmlunit, the only way to traverse the site is to keep > using the command webClient.getPage(URL) > > > > 1. Do I need javascript on in htmlunit to generate load for a load test? > > 2. If I have it off does that change the amount of load created? > > > > *Chad Bellan* > > *LUSIGHT RESEARCH* > > t. +1.416.934.7253 > > chad.bellan@... <mailto:chad.bellan@...> ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Htmlunit-user mailing list Htmlunit-user@... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
| Free embeddable forum powered by Nabble | Forum Help |