users@jersey.java.net

mock a Jersey Service

From: Ronak Patel <ronak2121_at_yahoo.com>
Date: Wed, 13 Jan 2010 15:31:30 -0800 (PST)

Hi everyone,

I'm trying to test a client side REST SDK that I made for a RESTful Web Service using JAX-RS Jersey.

I was wondering if there's any way to intercept or retrieve the HTTP/XML/JSON that the client SDK generates to manually provide that output to a Mock Service.

My service under test is written using RESTlet while the client SDK is written in Jersey.

Thanks,

Ronak Patel