I think this is more of an unit test (junit) problem, or am I not getting your question correctly? (in which case please describe the requirement a bit more)
You can find the synapse Unit tests in the synapse code base at the svn<http://svn.apache.org/repos/asf/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/>or in the source distribution in the downloads section <http://synapse.apache.org/download.html> and get some understanding on the tests. I think SynapseCommodityServiceTest<http://svn.apache.org/repos/asf/synapse/trunk/java/modules/core/src/test/java/org/apache/synapse/n2n/SynapseCommodityServiceTest.java>will give you a better understanding on how to do this. Even you can use TestSuite to setup the Synapse server at the initiation of the tests. Thanks, Ruwan On Wed, Jun 18, 2008 at 10:30 AM, Gary Rudolph <[EMAIL PROTECTED]> wrote: > > Any resources/links that show how to unit test Synapse (particularly with > maven)? > > I saw the mock services with synapse at IBM Developers (which is fantastic > to mock out proxies), but wanted to move to running via an automated build > with maven. > > An example is to launch synapse, run a unit test that uses a jax-ws client > to connect and run a test. > > Thanks, Gary > -- Ruwan Linton http://wso2.org - "Oxygenating the Web Services Platform" http://ruwansblog.blogspot.com/
