Re: Stress Load AJAX web application

2006-02-03 Thread Stas Ostapenko
Thanks a lot !!!

After I decided to test our application i'm was looking something like
http client with js support (and AJAX features). I had a look at
HttpUnit - as i saw it's have a limited js support (am i wrong ?).
Starting from srcratch I have considered commons-httpclient... but how
about JavaScript ? I have found Rhino - an open-source implementation
of JavaScript written entirely in Java. So, it's probably can work for
me. At other side I can try to write firefox extension (i have a
little experience in this field) for forcing browser to walk around my
web-application and POST-ing test data. Also i have found The AJAX
Toolkit Framework (ATF) Project at
http://www.eclipse.org/proposals/atf/. But it's only proposal now.

Frank, at standard tools I mean Apache Benchmark (ab) or HttpUnit.
Maybe it's a bad word or bad understanding of what is standard tool, i
don't know ;) I saw the demo and i have to admit that WebLoad is
amazing tool !!!

Ross, i'm not familiar with ruby at all, but maybe have to. Ruby on
Rails is pretty thing as i now.

Dave, I know that it's possible to test separate client-side and
server side, but all together is better.

I'll try all of tools you suggested.  One more question : is there
something similar for linux ? Windows is not a problem, but I'm on
linux box.

Thanks again, very helpful !

P.S. Sorry for maybe little OT

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Stress Load AJAX web application

2006-02-03 Thread Frank W. Zammetti
OpenSTA is similar to WebLoad, and has worked fairly well in the past.  It
does not appear to be cross-platform though, a fact I didn't know until 10
seconds ago.  http://www.opensta.org/

I'm a little confused with what your trying to accomplish, based on some
of the things you named below... are you trying to do stress testing or
unit (functional) testing?  There is usually some overlap between the two,
but by and large things like httpclient, Rhino and HTTPUnit tend to be
more functinoal testing than stress testing.  OpenSTA and WebLoad are more
stress (load) testing.  Like I said, there is some overlap.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

On Fri, February 3, 2006 7:09 am, Stas Ostapenko said:
 Thanks a lot !!!

 After I decided to test our application i'm was looking something like
 http client with js support (and AJAX features). I had a look at
 HttpUnit - as i saw it's have a limited js support (am i wrong ?).
 Starting from srcratch I have considered commons-httpclient... but how
 about JavaScript ? I have found Rhino - an open-source implementation
 of JavaScript written entirely in Java. So, it's probably can work for
 me. At other side I can try to write firefox extension (i have a
 little experience in this field) for forcing browser to walk around my
 web-application and POST-ing test data. Also i have found The AJAX
 Toolkit Framework (ATF) Project at
 http://www.eclipse.org/proposals/atf/. But it's only proposal now.

 Frank, at standard tools I mean Apache Benchmark (ab) or HttpUnit.
 Maybe it's a bad word or bad understanding of what is standard tool, i
 don't know ;) I saw the demo and i have to admit that WebLoad is
 amazing tool !!!

 Ross, i'm not familiar with ruby at all, but maybe have to. Ruby on
 Rails is pretty thing as i now.

 Dave, I know that it's possible to test separate client-side and
 server side, but all together is better.

 I'll try all of tools you suggested.  One more question : is there
 something similar for linux ? Windows is not a problem, but I'm on
 linux box.

 Thanks again, very helpful !

 P.S. Sorry for maybe little OT

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Stress Load AJAX web application

2006-02-03 Thread George.Dinwiddie
Stas Ostapenko wrote:
 After I decided to test our application i'm was looking 
 something like http client with js support (and AJAX 
 features). I had a look at HttpUnit - as i saw it's have a 
 limited js support (am i wrong ?). Starting from srcratch I 
 have considered commons-httpclient... but how about 
 JavaScript ? I have found Rhino - an open-source 
 implementation of JavaScript written entirely in Java. So, 
 it's probably can work for me. At other side I can try to 
 write firefox extension (i have a little experience in this 
 field) for forcing browser to walk around my web-application 
 and POST-ing test data. Also i have found The AJAX Toolkit 
 Framework (ATF) Project at 
 http://www.eclipse.org/proposals/atf/. But  it's only proposal 
 now.

HttpUnit uses Rhino for its javascript support.  The problem is
principally that Rhino tries to implement the EcmaScript spec, which is
not at all what Internet Explorer does.  There are significant
differences, especially in the Document Object Model.  You'll run into
the same issue when testing with Firefox.

Since you're running on Linux, IE is not an option, and Watir is not yet
an option.  Perhaps Selenium (http://www.openqa.org/selenium/) would
help.

 - George
   http://wwwidiacomputing.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Stress Load AJAX web application

2006-02-02 Thread Ross Gibb
Take a look at http://wtr.rubyforge.org/.  I use it a little bit, might 
do what you want.


Ross

Stas Ostapenko wrote:

Hi !

I have a Struts based web application where we using a lot of AJAX
things. I want to test application under load - for example 100
concurrent users. Standard tools is not acceptable, so I need some
kind of http client with XmlHttpRequest object supported. I know that
there is HttpUnit, but I'm not sure about AJAX support.
How it's can be done ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Stress Load AJAX web application

2006-02-02 Thread Frank W. Zammetti
Why wouldn't standard load-testing tools work?  Something like OpenSTA or
WebLoad where you can record a script and play it back, altering the
virtual user load?  I wouldn't think AJAX would really make a difference,
as long as the tool's recording facility captured everything (some are
better than others at this in my experience).

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

On Thu, February 2, 2006 11:15 am, Stas Ostapenko said:
 Hi !

 I have a Struts based web application where we using a lot of AJAX
 things. I want to test application under load - for example 100
 concurrent users. Standard tools is not acceptable, so I need some
 kind of http client with XmlHttpRequest object supported. I know that
 there is HttpUnit, but I'm not sure about AJAX support.
 How it's can be done ?

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Stress Load AJAX web application

2006-02-02 Thread David Durham

Stas Ostapenko wrote:

Hi !

I have a Struts based web application where we using a lot of AJAX
things. I want to test application under load - for example 100
concurrent users. Standard tools is not acceptable, so I need some
kind of http client with XmlHttpRequest object supported. I know that
there is HttpUnit, but I'm not sure about AJAX support.
How it's can be done ?


Well, what part of the system are you testing?  If you're testing the 
server, then http requests are all you need.  The fact that XML is 
returned doesn't really have anything to do with testing the server.


Otherwise, maybe jsunit is of use to you:

   http://sourceforge.net/projects/jsunit/


-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]