Articles avec #les outils pour les tests - soap ui tag
Sometimes, when you use SOAP UI too much, you could face some memory leak issue. This will exit or freeze the tool without any alert.
In order to avoid this kind of problem, the user is able to modify the Java memory used by SOAP UI. To do that, you must go in the installation repository, by default it’s C:\Program Files\eviware\soapUI-2.5.1\, in the bin directory. There, you will find the file soapui.bat. You cane dit this file and replace the following line :
set JAVA_OPTS=-Xms128m –Xmx256m -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\"
by this one:
set JAVA_OPTS=-Xms256m –Xmx728m -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\"
If you have more than 2Go of RAM installed on your computer, you could also set the memory to –Xmx1024m. You will meet fewer problems in this case and the tool will not break down.
Step 1: Create the project Open the SOAP UI tool and click on the New soapUI Project link as you could see on the screenshot below:
A new window will appear where you should put the name of the project, the WSDL link or file and some others creation options:
Put the name you want and the WSDL link of the service component or Browse to the corresponding file (delivered by an Architect). Don’t forget to click on the “Creates a TestSuite for the imported WSDL or WADL” option. Then, click on OK.
Step 2: Generate TestSuite A new window will be displayed for the TestSuite generation with the name of all services defined in the WSDL. You should keep the default options and click on Ok button.
After that, you will be asked to put a name for you Test Suite. Basically, you should put there the name of the service component followed by TestSuite. You could add also the name of the services you will test in the TestSuite if you think you will not put all the integration tests in the same project. This case could happen if you want to divide the tests of each service in the team.
After putting the name of the TestSuite, you could click to OK. This is the end of the project creation. You will wait some seconds waiting SOAP UI to create the project. If everything is ok, you will have a new project in the left area as you could see in the following screenshot: