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

Hi Pascal,

turns out I was too quick with my response. I havnt tried NanoHTTPD myself but remember that it is used within Riena Testing. However NanoHTTPD is very very lightweight, so it can handle HTTP, can serve files from a directory but does not support servlets.

So I guess I have to pull back and admit that it was not such a good idea for your scenario.

sorry (at least I had good intentions :-) )

christian

Am 23.12.2008 um 17:10 schrieb Pascal Rapicault:

Christian, do you guys have a suite of tests based around this that you could contribute?

Also, I have asked for some details about this on the apache client ML and here is the answer I got. They seem to point to the 4.0 version of these classes. See answer there: http://mail-archives.apache.org/mod_mbox/hc-dev/200812.mbox/%3c1230039396.5702.4.camel@ubuntu%3e

PaScaL


<graycol.gif>Christian Campo ---12/23/2008 07:58:40 AM---An Alternative HTTP Server that you might wonna look at is NanoHTTPD http://elonen.iki.fi/code/nanoh

<ecblank.gif>
From:
<ecblank.gif>
Christian Campo <christian.campo@xxxxxxxxxxxx>
<ecblank.gif>
To:
<ecblank.gif>
"Eclipse Communication Framework (ECF) developer mailing list." <ecf-dev@xxxxxxxxxxx>
<ecblank.gif>
Date:
<ecblank.gif>
12/23/2008 07:58 AM
<ecblank.gif>
Subject:
<ecblank.gif>
Re: [ecf-dev] Http test server





An Alternative HTTP Server that you might wonna look at is NanoHTTPD http://elonen.iki.fi/code/nanohttpd/ which is used by some projects for this kind of testing.....

https://dev.eclipse.org/ipzilla/show_bug.cgi?id=1624
https://dev.eclipse.org/ipzilla/show_bug.cgi?id=2161

kind regards
christian campo

Am 23.12.2008 um 04:52 schrieb Pascal Rapicault:
      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 http://hc.apache.org/httpclient-3.x/xref-test/ and can of course be downloaded from the apache SVN repo http://hc.apache.org/httpclient-3.x/scm-usage.html.

      This looks fairly promising esp that it seems to be fairly broadly use in the apache client test infrastructure.
      What do you think?

      PaScaL

      <ATT00001.c>

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev


<ATT00001.c>