Regression testing for HTTP server

J

Jim Janney

I've been asked to work on a project that includes a small HTTP server
written with Java Server Pages. The original author is gone, the server
hasn't worked for a couple of years, and naturally there are no tests or
documentation. I'd like to write something to put it through its paces,
assuming I can figure out what those are.

A quick Google search took me to HttpUnit, but I notice that it hasn't
been updated since 2008. Is there anything else I should look at?
 
M

markspace

I've been asked to work on a project that includes a small HTTP server
written with Java Server Pages. The original author is gone, the server
hasn't worked for a couple of years, and naturally there are no tests or
documentation. I'd like to write something to put it through its paces,
assuming I can figure out what those are.

A quick Google search took me to HttpUnit, but I notice that it hasn't
been updated since 2008. Is there anything else I should look at?


A Google search for "java http testing" turned up this page, plus
several more prospects which looked good too:

<http://java-source.net/open-source/web-testing-tools>
 
J

Jim Janney

RVic said:
Perhaps Selenium? If you want to test the strength of the site, Apache Bench.

-RVic

Ideally I would prefer something that can run automatically as part of
the build process -- not sure how to fit Selenium into that, but I will
look into it. I do need cookie support for sessions, and a browser may
be the easiest way to get that. Performance is not an issue here, just
basic correctness.
 
L

Lew

Jim said:
Ideally I would prefer something that can run automatically as part of
the build process -- not sure how to fit Selenium into that, but I will

Hudson or Jenkins. Generally speaking, continuous integration, or "CI".

Jenkins (Hudson) have plugins for all kinds of necessary or helpful things,
like JUnit and TestNG. I've driven TestNG/Selenium tests from Hudson and it
works very well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top