Forum Discussion

piratemurray's avatar
piratemurray
New Contributor
12 years ago

Deploy as war producing overly large war file

I must admit it has been a while since I used SOAPUI but I don't remember the produced WAR files for mock services being as large as they are. For a very simple mock service that has a small amount of Groovy for logic, a WSDL, and two referenced XSDs (both very small) the mock service WAR files that are being generated are of the order 50 - 60 MB each.

We have tried the option of specifying not to include jars from the ext folder in the GUI but despite this they are included in a folder called /lib/. Is this a bug? I was expecting the WAR file to be a lot smaller than this. Perhaps 5 - 6 MB at the most.

SOAPUI 4.6.0
Linux & Windows

2 Replies

  • I've now tried this with the command line and it still ignores the flag not to include the ext jars. Am I doing something wrong?

    ./wargenerator.sh -x false -d "/home/<user>/Desktop/mockService" -f "mockService" -e "/" /home/<user>/Desktop/SOAP-TEST/TEST-soapui-project.xml