Hi everybody,

To cut a long story short, I need an advice for testing (unitary test
with JUnit / TestNG & Easymock) a CXF client.

The context :
- I'm working on a SOAP client (CXF of course) with asynchronous
response handling (Future <?> way)
- I cannot "modify" the server nor the WSDL (I'm only on the client side)
- I'm self confident in CXF ;-), I don't want to test all the "plumbing"
..., I'd like to test my business "only"
- I'm using a CI server (Hudson) and I'd like to avoid launching an http
server to unitary test my client.

What I've imagined is to "inject" some pre-formated response from stored
xml files (pre-formatted SOAP messages).
Those SOAP messages may contain "normal" responses or SOAP fault responses.

>From the CXF tests, I'm wondering if the local transport is the way to
do this ...
In this case, for what I've understood so far, I need to implement the
server side but it looks a bit overweighted to me.

Could someone tell me the best way to test my client ?

Thanks in advance

--
Tom


Reply via email to