Jonathan_Easter
16 years agoNew Contributor
Help needed to start two Mock Services before a jUnit test
Hello,
I am attempting to set up a SoapUI + Maven + Surefire (to run jUnit test) to automate my test/build step. I would like to in the test phase of the build first fire up two soapUI mock services, then fire the jUnit tests. But so far I am having limited/no luck getting everything tied together. I have the Mock Services defined, I have maven running my jUnit tests, but I am missing the final part. I have had limited success just executing the main of soapUI but there must be a better way. Any tips/suggestions/snippets etc would be much appreciated. I'm at the point of not even knowing the proper questions to ask.
I am attempting to set up a SoapUI + Maven + Surefire (to run jUnit test) to automate my test/build step. I would like to in the test phase of the build first fire up two soapUI mock services, then fire the jUnit tests. But so far I am having limited/no luck getting everything tied together. I have the Mock Services defined, I have maven running my jUnit tests, but I am missing the final part. I have had limited success just executing the main of soapUI but there must be a better way. Any tips/suggestions/snippets etc would be much appreciated. I'm at the point of not even knowing the proper questions to ask.