Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Http test server

> 1) Identifying what server 'misbehavior' we/others wish to test against
I think we need to test misbehavior as well as regular behavior. On the misbehavior side, the two cases that comes to mind are:
- Server timing out, so we can verify the responsiveness of cancellation. Variants where bytes have already been transfered, or not transfered
- Server never timing out
- Server never sending anything back
- Servers returning an OK status despite having only returned a partial sets of bytes

As for the regular behavior, I think testing non-typical cases like
- Basic proxy authentication support
- Server requesting login

> 2) Implementing that 'misbehavior' with this codebase...probably by  necessity prior to IP approval

- This is has already been approved as part of the review of The archive that got submitted for review contained the necessary code so we can start using it. We should just have to open a piggyback CQ.

> 3) Having some public server resources to test with (as I don't believe localhost testing is going to be sufficient)
> We (ECF team) have access to two servers at OSUOSL that can probably be
> used for some of 3 (since some of the 'misbehavior' cases probably
> should/would involve proxies, etc., then these servers cannot be used
> for such tests).

I agree that this would be good, however this does not seem to be a must have to start with. Do you suggest that we would run the same misbehaving servers locally and remotely?

> Scott
> Pascal Rapicault wrote:
> >
> > One of the recurring discussion the p2 and ECF teams have had, is how
> > the heck do we test http servers, especially those being problematic?
> > While looking around in the apache http client code base I came across
> > this package called: org.apache.commons.httpclient.server which seems
> > all about "/ A simple, but extensible HTTP server, mostly for testing
> > purposes./". The code is visible here
> > and can of course be
> > downloaded from the apache SVN repo
> >
> >
> > This looks fairly promising esp that it seems to be fairly broadly use
> > in the apache client test infrastructure.
> > What do you think?
> >
> > PaScaL
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > ecf-dev mailing list
> > ecf-dev@xxxxxxxxxxx
> >
> >  
> _______________________________________________
> ecf-dev mailing list
> ecf-dev@xxxxxxxxxxx

Back to the top