Let soapUI 'Deploy As War' Supports Multi Projects
soapUI的Deploy As War can deploy MockServices as a WAR,but only supports one project, if you want to use multi projects, you need to deploy corresponding multi WARs. Can I make it easier?
After reading MockAsWarServlet
source code, I found when init Servlet, it will read projectFile
param, and load project file to start MockServices in this project.
So we can make a little change, add a parameter called projectPath
, located all of projects file. It will scan all of projects file in that directory at Servlet init step, and start corresponding MockService one by one.
Download jar
web.xml:
星期五, 十一月 20, 2009
|
标签:
开发,
java,
soapUI,
Web Services
|
订阅:
博文评论 (Atom)
0 评论:
发表评论