Hi
On 11/07/13 20:01, gigi2 wrote:
Hello, CXF gurus,
We have implemented a RESTful web services using CXF. Many unit tests are
using embedded jetty server created by CXF that hosts the endpoints as
configured. The configuration files of the jetty are
META-INF/cxf/cxf-extension-http-jetty.xml
META-INF/cxf/cxf.xml
As more and more tests are added, it takes a long time to run these tests.
We are just wondering if there is way to use maven to start/stop the jetty
server for these tests therefore they are not started/stopped by each test.
I guess one option is to have a single test starting all the endpoints
and running all the tests against them.
Also consider trying Local transport:
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSLocalTransportTest.java
Cheers, Sergey
Hope I make it clear
Thanks a lot for your kind helps
--
View this message in context:
http://cxf.547215.n5.nabble.com/use-one-embedded-jetty-instance-for-all-CXF-tests-tp5730621.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com