Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Regression testing for HTTP server

22 views
Skip to first unread message

Jim Janney

unread,
May 16, 2013, 4:30:42 PM5/16/13
to
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?

--
Jim Janney

RVic

unread,
May 16, 2013, 7:30:23 PM5/16/13
to
Perhaps Selenium? If you want to test the strength of the site, Apache Bench.

-RVic

markspace

unread,
May 16, 2013, 7:57:31 PM5/16/13
to
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>


Jim Janney

unread,
May 17, 2013, 11:24:14 AM5/17/13
to
RVic <rvin...@hotmail.com> writes:

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

--
Jim Janney

Jim Janney

unread,
May 17, 2013, 11:25:29 AM5/17/13
to
Lots of choices. Thanks.

--
Jim Janney

Lew

unread,
May 17, 2013, 2:17:08 PM5/17/13
to
Jim Janney wrote:
> RVic writes:
>> Perhaps Selenium? If you want to test the strength of the site, Apache Bench.
>
> 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.

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

--
Lew
0 new messages