Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SoapUI 5.4.0 works extremely slow on macOS High

I'm using SoapUI 5.4.0 in my MacBook Pro with macOS High Sierra (10.13.3).

The application works very slow (especially the graphics) and sometimes it hang on and I need to force restart.

Can someone help me?

like image 235
Jose A. Matarán Avatar asked Mar 09 '18 13:03

Jose A. Matarán


Video Answer


3 Answers

  1. From your Applications folder, select the SoapUI app.
  2. Right-click and select Show Package Contents.
  3. Navigate to Contents/java/app/bin path and locate soapui.sh file.
  4. Edit the file in a text editor.
  5. Uncomment the line # JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true".
  6. Save the file.
  7. Open SoapUI.
like image 177
Saikat Avatar answered Dec 28 '22 08:12

Saikat


You have to disable the browser component of SoapUI. (The thing that is displaying the those valuable product information all the time.)

To do so set the system property soapui.browser.disabled=true.

A detailed how-to can be found here: http://shariati.me/how-to-fix-soapui-speed-issue-on-macos/

like image 41
jhunovis Avatar answered Dec 28 '22 08:12

jhunovis


Suggest you to increase the heap size for the tool. Here is the documentation for your reference.

SoapUI is rather memory intensive, especially with default settings for logging, etc. If you are running more lengthy functional tests or load tests you might well bump into an OutOfMemory error. Fortunately, there are several things that can be done to minimize the risk for running into this error.

1. Adjust Memory Settings

This doesn't really solve the underlying problem, but if you have large WSDLs, requests, attachments, etc the default settings in "bin\soapui.bat", "bin\soapui.sh", "bin\soapUI-Pro-5.2.0.vmoptions" for Windows or "Contents/vmoptions.txt" for Mac won't be sufficient.

Open the corresponding file in a text editor and change the line
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx256m -Dsoapui.properties=soapui.properties
to use higher values for the max allocated size, for example:
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx768m -Dsoapui.properties=soapui.properties
The exact value is hard to say, it depends of course on your system setup, other applications running, etc. You can set it to half the amount of available memory, for example on a machine with 2 GB of ram that would be 1024. Remember that if you are running a 32-bit operating system (for example Windows XP), then you wont be able to allocate more than approximately 1.5Gb, so there is no use in setting the value higher then that.
If you run into PermGen errors (for example if you are using a lot of groovy scripts), then you might need to adjust that setting as well, add a -XX:MaxPermSize setting to the above line:
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx768m -XX:MaxPermSize=128m -Dsoapui.properties=soapui.properties
If you want to dig into all possible memory-related options, check out Joe Mocker's Collection of JVM Options.

like image 33
Rao Avatar answered Dec 28 '22 06:12

Rao