wood burning stoves 2.0*
The moose likes Agile and Other Processes and the fly likes Need help on testing tools used in a web based system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Agile and Other Processes
Bookmark "Need help on testing tools used in a web based system" Watch "Need help on testing tools used in a web based system" New topic
Author

Need help on testing tools used in a web based system

Ajan Balakrishnan
Ranch Hand

Joined: Jan 04, 2001
Posts: 71
Gentlemen,
Can somebody suggest a good testing tool for a web based system and the processes involved in testing(if you don't mind).
pardon me if i'm posting this in a wrong place cuz i need this information pretty badly
Any help greatly appreciated
Thanks
Ajan
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
I'm a fan of JUnit for my unit testing, so HTTPUnit or J2EEUnit are my favourites for testing web interfaces.
What sort of testing do you plan to do? detailed unit tests? look and feel tests? record-and-replay tests? There are different tools available which specialize in these areas.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ajan Balakrishnan
Ranch Hand

Joined: Jan 04, 2001
Posts: 71
Thanks Frank,
I'm interested in unit test tool, may be Security test tool , performance and load test tools in future. May be a silly question but i have to ask ,Is there anything tool which includes all these functionalities in a single package.
What kind of tool a QA team can make use to see if all of their the processes are covered
Also if possible please shed some light on the testing strategies/processes/metholodogies usually followed
Thanks
Ajan

ARS Kumar
Ranch Hand

Joined: May 22, 2000
Posts: 108
check out www.sqe.com as well as www.stickyminds.com
Regards
------------------
Suresh Kumar
Sun Certified Java 2 Programmer.
[This message has been edited by ARS Kumar (edited February 27, 2001).]


ARS Kumar, Sun Certified Programmer for Java 2 Platform
http://www.automatedsqa.com/
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
We are using eTest and are quite pleased with the results.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Nick Pellow
Greenhorn

Joined: Apr 01, 2001
Posts: 2
I am using HttpUnit within Junit with great success.
I believe it is the best tool available for testing
web apps.
I run Junit within Ant, which works well. The only problem however is that you need to have a server running the latest code
at the time of running the tests.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
With my Ant/JUnit tests I make sure to deploy a new war to the server containing all my latest code and data before running the tests. It does mean that there is a delay while the web-app is unpacked, JSPs compiled etc each time, but I am guaranteed to be testing the same code.
Nick Pellow
Greenhorn

Joined: Apr 01, 2001
Posts: 2
Frank,
what I meant was that to automate the testing with Ant:
ie: - deploy the webapp
- start the server
- then run the tests
you need two instances of Ant running (unless you can hot deploy your webapp) since ant blocks until an Ant Task returns. (ie it waits until the server shuts down before returning control)
This means, if you are using Ant to start the servers, then
run the tests it is not as easy as pressing one button, and wathcing the tests fly. You need tom start the server in a separate location, then run the tests.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Ah, that'll be the difference.
I use Resin, (from http://www.caucho.com/ ) which autodetects an upgraded war file then dumps the web-app, expands the war and reloads/re-inits it. Makes web-app testing as simple as "ant test"
Are you using Tomcat or some other server which doesn't like reloading changed classes?
martin fowler
Author
Ranch Hand

Joined: Dec 11, 2000
Posts: 53
You might also look at Cruise Control (http://cruisecontrol.sourceforge.net/) which is the packaged up tools that we at ThoughtWorks use for Continuous Integration. We've released it as open source.


author of:<br /><a href="http://www.amazon.com/exec/obidos/ASIN/0201485672/electricporkchop" target="_blank" rel="nofollow">Refactoring : Improving the Design of Existing Code</a><br /><a href="http://www.amazon.com/exec/obidos/ASIN/020165783X/electricporkchop" target="_blank" rel="nofollow">UML Distilled, Second Edition: A Brief Guide to the Standard Object Modeling Language</a><br /><a href="http://www.amazon.com/exec/obidos/ASIN/0201895420/electricporkchop" target="_blank" rel="nofollow">Analysis Patterns : Reusable Object Models</a><br /><a href="http://www.amazon.com/exec/obidos/ASIN/0201710919/electricporkchop" target="_blank" rel="nofollow">Planning Extreme Programming</a>
vikram saini
Greenhorn

Joined: Sep 13, 2006
Posts: 2
hi,
if you want to do acceptance test for the web application and working in a agile project development then selenium is a good tool for that..it have ajax support and various other feautres..so in my view go for it
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by vikram saini:
hi,
if you want to do acceptance test for the web application and working in a agile project development then selenium is a good tool for that..it have ajax support and various other feautres..so in my view go for it


Are you aware of the fact that you are responding to a *more than five years old* question?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
GeeCON Prague 2014
 
subject: Need help on testing tools used in a web based system