Hi Ruchi,
if you are talking about this support in the Jersey Test Framework, here's
what you can do -
1. If you have your application running on a standalone Jetty server, you
can run your tests using the ExternalTestContainerFactory.
2. If you want to run your tests against an Embedded Jetty server, I do not
think the support is there yet. However, it is easy to add your
implementation for the EmbeddedJettyTestContainerFactory. All that you have
to do is to implement the *
com.sun.jersey.test.framework.spi.container.TestContainerFactory *interface
and the necessary methods, and run your tests using this implementation.
Please refer [1] for the api documentation.
[1]
http://jersey.java.net/nonav/apidocs/latest/jersey-test-framework/jersey-test-framework-core/index.html
<
http://jersey.java.net/nonav/apidocs/latest/jersey-test-framework/jersey-test-framework-core/index.html>-
Naresh
On Thu, May 19, 2011 at 2:53 PM, Ruchi Goel <ruchig_at_yahoo-inc.com> wrote:
> Hi,
>
> Can I test RESTful WS based on Jersey , on jetty ? If yes , please send
> pointers .
>
>
>
> Regards,
>
> Ruchi
>