Testing site with Ajax

View: New views
3 Messages — Rating Filter:   Alert me  

Testing site with Ajax

by Chad Bellan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

My intention is to load test a site that relies heavily on Ajax.

 

1.  For this to properly happen, do I have to turn on javascript?

2.  If javascript is off, will it not generate the same (or enough) load, when traverse the site using the command webClient.getPage(URL)

 

Chad Bellan

LUSIGHT RESEARCH

t. +1.416.934.7253

chad.bellan@...

 

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: Testing site with Ajax

by Kumararaja Gunasekaran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi chad,

I guess you need to turn the javascript on - webclient.setJavaScriptEnabled(true); if you are using Ajax stuff

most likely, it will have the same load as js is off.

 

Thanks,

Kumar.

 

From: Chad Bellan [mailto:chad.bellan@...]
Sent: 21 October 2009 16:36
To: htmlunit-user@...
Subject: [Htmlunit-user] Testing site with Ajax

 

My intention is to load test a site that relies heavily on Ajax.

 

1.  For this to properly happen, do I have to turn on javascript?

2.  If javascript is off, will it not generate the same (or enough) load, when traverse the site using the command webClient.getPage(URL)

 

Chad Bellan

LUSIGHT RESEARCH

t. +1.416.934.7253

chad.bellan@...

 

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: Testing site with Ajax

by gredler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JS is enabled by default, so no need to turn it on explicitly unless you previously turned it off.

Whether or not you generate the same load with JS disabled will depend on your app, but if it's an AJAX app then you'll probably want JS enabled.



On Wed, Oct 21, 2009 at 11:45 AM, Kumararaja Gunasekaran <kumar@...> wrote:

Hi chad,

I guess you need to turn the javascript on - webclient.setJavaScriptEnabled(true); if you are using Ajax stuff

most likely, it will have the same load as js is off.

 

Thanks,

Kumar.

 

From: Chad Bellan [mailto:chad.bellan@...]
Sent: 21 October 2009 16:36
To: htmlunit-user@...
Subject: [Htmlunit-user] Testing site with Ajax

 

My intention is to load test a site that relies heavily on Ajax.

 

1.  For this to properly happen, do I have to turn on javascript?

2.  If javascript is off, will it not generate the same (or enough) load, when traverse the site using the command webClient.getPage(URL)

 

Chad Bellan

LUSIGHT RESEARCH

t. +1.416.934.7253

chad.bellan@...

 

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




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
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