Hi Andrew,

Hi Alexander, why not launch jetty in embedded mode, say, in the test code?

It'll make the test dependable on Jetty. And it requires some suporting
framework to be implemented.

We had a long discussion about jetty, and agreed to use it as a embedded web
server for harmony test,

To evaluate such an approach some sample tests are needed. I looked for
them, but could not find.

although I'm not sure whether it works for persistent connections.

I doubt it is possible to test persistence implementation with
external http server. Say, how is it possible to test that our
implementation will work correctly with 2 established persistent connections
while third connection was interrupted by the server? There could be many
examples of such testing situations requiring tight control over http server
behaviour.

Thank you for your note, I think we should decide is Jetty appropriate for using
here or not.

Alexander

Reply via email to