Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #24102 > unrolled thread

Regression testing for HTTP server

Started byJim Janney <jjanney@shell.xmission.com>
First post2013-05-16 14:30 -0600
Last post2013-05-17 09:25 -0600
Articles 6 — 4 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Regression testing for HTTP server Jim Janney <jjanney@shell.xmission.com> - 2013-05-16 14:30 -0600
    Re: Regression testing for HTTP server RVic <rvince99@hotmail.com> - 2013-05-16 16:30 -0700
      Re: Regression testing for HTTP server Jim Janney <jjanney@shell.xmission.com> - 2013-05-17 09:24 -0600
        Re: Regression testing for HTTP server Lew <lewbloch@gmail.com> - 2013-05-17 11:17 -0700
    Re: Regression testing for HTTP server markspace <markspace@nospam.nospam> - 2013-05-16 16:57 -0700
      Re: Regression testing for HTTP server Jim Janney <jjanney@shell.xmission.com> - 2013-05-17 09:25 -0600

#24102 — Regression testing for HTTP server

FromJim Janney <jjanney@shell.xmission.com>
Date2013-05-16 14:30 -0600
SubjectRegression testing for HTTP server
Message-ID<ydna9nuy8el.fsf@shell.xmission.com>
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

[toc] | [next] | [standalone]


#24103

FromRVic <rvince99@hotmail.com>
Date2013-05-16 16:30 -0700
Message-ID<7139da5e-1d5f-4d01-8307-1eb6625a82ff@googlegroups.com>
In reply to#24102
Perhaps Selenium? If you want to test the strength of the site, Apache Bench.

-RVic

[toc] | [prev] | [next] | [standalone]


#24107

FromJim Janney <jjanney@shell.xmission.com>
Date2013-05-17 09:24 -0600
Message-ID<ydn61yhy6ht.fsf@shell.xmission.com>
In reply to#24103
RVic <rvince99@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

[toc] | [prev] | [next] | [standalone]


#24112

FromLew <lewbloch@gmail.com>
Date2013-05-17 11:17 -0700
Message-ID<5fb61d54-829f-4abd-9174-87d4c097f420@googlegroups.com>
In reply to#24107
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

[toc] | [prev] | [next] | [standalone]


#24104

Frommarkspace <markspace@nospam.nospam>
Date2013-05-16 16:57 -0700
Message-ID<kn3ri4$75n$1@dont-email.me>
In reply to#24102
On 5/16/2013 1:30 PM, Jim Janney wrote:
> 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>

[toc] | [prev] | [next] | [standalone]


#24108

FromJim Janney <jjanney@shell.xmission.com>
Date2013-05-17 09:25 -0600
Message-ID<ydn1u95y6fq.fsf@shell.xmission.com>
In reply to#24104
markspace <markspace@nospam.nospam> writes:

> On 5/16/2013 1:30 PM, Jim Janney wrote:
>> 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>

Lots of choices.  Thanks.

-- 
Jim Janney

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web