SOA WebServices 测试经验
你好,我想自动测试我的 SOA WebService,我发现了soapUI,它看起来也非常不错。
但如何在 Tomcat(EmbeddedTomcat?)或 AXIS Servlet 容器中启动 SOA 服务? 因为我们不想在 Hutson Build Server 上安装 Tomcat 服务器。
那么,当我们在自动单元测试环境中从外部测试我们的 SOA 服务时,应该采取哪些方法呢?
感谢您的解答
Hello I want to test automatic my SOA WebService, I found soapUI and it looks also really nice.
But how I can start my SOA Service in an Tomcat (EmbeddedTomcat?) or AXIS Servlet Container?
Because we don't want to install on our Hutson Build Server an Tomcat Server.
So the question which are the ways to go when we will Test our SOA Service from outside in an automatic unit test environment?
Thanks for answers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您不想在构建服务器上安装 Tomcat 服务器,则可以使用另一台运行 tomcat 的服务器,您可以在每次成功构建时从构建服务器远程部署到该服务器。然后针对远程服务器运行您的soapUI 测试。 Tomcat有Ant和Maven插件,可以做远程部署。 http://tomcat.apache .org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant, http://mojo.codehaus.org/tomcat-maven-plugin/introduction.html
If you don't want to install a Tomcat server on your buildserver, you could have another server running tomcat, which you can remote deploy to from your build server on every successful build. Then run your soapUI tests against the remote server. There are both Ant and Maven plugins for Tomcat, which can do remote deployment. http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant, http://mojo.codehaus.org/tomcat-maven-plugin/introduction.html