How to install SoapUI in Ubuntu 16.04

How to install SoapUI in Ubuntu 16.04

SoapUI is a free and open source cross-platform Functional Testing solution. SoapUI creates and executes automated functional regression compliance and load tests with a graphical interface. In a single test environment, SoapUI provides complete test coverage and supports all the standard protocols and technologies. SoapUI can also be used for webservices inspection, development, REST API testing, SOAP testing and functional, compliance and load testing. Meet SoapUI, the world’ s most complete testing tool!


Major new features

&bull REST Mocking &ndash Easily create REST MockServices without scripting and test unavailable/prototype APIs.
&bull OAuth 2.0 support &ndash Test APIs using OAuth 2.0, group different OAuth 2.0 credentials into profiles, and automate your OAuth 2.0 tests to integrate with other build tools.
&bull (Pro only) REST Discovery &ndash Quickly get your undocumented API under test by recording your interactions with the API.
&bull (Pro only) REST Test Suite Builder &ndash Automatically create test suites from your recorded interactions with the API, making sure you test the right requests.
&bull (Pro only) REST Discovery + REST Mocking &ndash Seamlessly create REST Mocks using responses from REST Discovery recordings.


Improvements

&bull Introduced Script class for internal grouping of constants (Contribution from Marc Paquette)
&bull Added a (non-GUI) setting to control starting the Cajo server on startup (Contribution from Marc Paquette)
&bull Improved file chooser behavior in certain scenarios (Contribution from Marc Paquette)
&bull Added missing soapui.logroot configuration to the log4j definition of the GLOBAL_GROOVY_LOG (Contribution from Michael Ottati)
&bull IdleConnectionHandler is now correctly stopped (Contribution from Christoph Thelen)
&bull Normalize pathname for listeners, factories and root (SOAP-1424, Contribution from Marc Paquette)

Install SoapUI 5.0

Before installing SoapUI, Java JRE must be installed.
Add the repository for java JRE using add-apt-repository ppa:webupd8team/java command.

root@linuxhelp:~# add-apt-repository ppa:webupd8team/java
 Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA.

More info (and Ubuntu installation instructions):
- for Oracle Java 7: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
- for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
.
.
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

Once the repository is added, update the apt sources list using apt-get update.

root@linuxhelp:~# apt-get update
Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease [17.6 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]            
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]     
Get:4 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 Packages [2,860 B]
Get:5 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main i386 Packages [2,860 B]
Get:6 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main Translation-en [1,260 B]
.    
.
et:84 http://in.archive.ubuntu.com/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]
Fetched 39.2 MB in 3min 37s (180 kB/s)                                         
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done

Then install java8 using apt install oracle-java8-installer.

root@linuxhelp:~# apt install oracle-java8-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gsfonts-x11 java-common oracle-java8-set-default
Suggested packages:
  binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core
  ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho
  | ttf-sazanami-mincho ttf-arphic-uming
The following NEW packages will be installed:
  gsfonts-x11 java-common oracle-java8-installer oracle-java8-set-default
0 upgraded, 4 newly installed, 0 to remove and 372 not upgraded.
Need to get 44.2 kB of archives.
After this operation, 245 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
.
.
Setting up gsfonts-x11 (0.24) ...
Setting up oracle-java8-set-default (8u111+8u111arm-1~webupd8~0) ...

Download Soap UI
SoapUI 5.0 tar without Java can be installed in your system or SoapUI can be installed by entering the tar package in the terminal along with the download link and press Enter.

root@linuxhelp:~# wget http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz
--2016-12-16 05:45:19--  http://cdn01.downloads.smartbear.com/soapui/5.3.0/SoapUI-5.3.0-linux-bin.tar.gz
Resolving cdn01.downloads.smartbear.com (cdn01.downloads.smartbear.com)... 23.76.157.130, 23.76.157.123, 2600:1417:56::174c:9d82, ...
Connecting to cdn01.downloads.smartbear.com (cdn01.downloads.smartbear.com)|23.76.157.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48972753 (47M) [application/gzip]
Saving to: ‘ SoapUI-5.3.0-linux-bin.tar.gz’ 

SoapUI-5.3.0-linux- 100%[===================> ]  46.70M  1024KB/s    in 49s     

2016-12-16 05:46:10 (976 KB/s) - ‘ SoapUI-5.3.0-linux-bin.tar.gz’  saved [48972753/48972753]

Extract Contents

The downloaded SoapUI tar file can be extracted using tar -xzf SoapUI-5.3.0-linux-bin.tar.gz -C /opt/

root@linuxhelp:~# tar -xzf SoapUI-5.3.0-linux-bin.tar.gz -C /opt/

To Install SoapUI
To change the directory use cd /opt/SoapUI-5.3.0/bin

root@linuxhelp:~# cd /opt/SoapUI-5.3.0/bin/

Run the ./soapui.sh command to install SoapUI.

root@linuxhelp:/opt/SoapUI-5.3.0/bin# ./soapui.sh


Tag : Java SoapUI
Comment
nicolasmalcorra
Nov 19 2017
Thanks !!! it has been helpful !
Add a comment
FAQ
Q
where you use properties in SoapUI?
A
We can read the property values into test step endpoint, username, header values, password, domain, POST, PUT, GET and DELETE method properties.
Q
Explain what is the role of XML, SOAP, WSDL, and UDDI in web services?
A
Web services are a medium through which web-based application can be integrated or communicated over an internet protocol backbone. Web-based application can be integrated using XML, SOAP, UDDI, and WSDL. SOAP is used for transmitting the data; WSDL is used for describing or relating the services, UDDI is used for listing what services are accessible, XML is used to tag the data.
Q
How do I save the changes I make to my projects, requests, test cases, etc?
A
SoapUI automatically saves everything on exit. If you want to save your projects without exiting (for example if you want to commit your project file to CVS) use the "Save All" option in the main File menu
Q
what are the properties in SoapUI?
A
Properties in SOAPUI is used to retrieve and store data. The data is stored as key, value or format.
Q
what are the default properties in SOAPUI?
A
By default, SOAPUI has properties at three levels:
Project level default or custom properties: User can append any number of properties at the project level and it can be opened from any test steps from any test cases under any test suites
Test suite level default or custom properties: User can append any number of properties at test suite level and it can be used from any test steps from any test cases under this test suite
Test case level default or custom properties: At Test Case level users can add any number of properties at test case level and it can be used from any test steps from this test case