VirtServer uses a separate installation package from ReadyAPI. You can install it on Windows, Linux and macOS. The ways to install the product on these operating systems are very similar. There are differences in installing the product on Linux headless (GUIless) machines. This topic provides detailed information on installation steps for both cases.
Follow these steps:
Download the VirtServer installer for your platform (Windows, Linux or macOS, 32- or 64-bit) from the SmartBear web site.
|Note:||If you use Linux, check that the installer has correct permissions and is executable.|
Run the downloaded installation package.
Follow the installation wizard instructions:
Specify the installation directory.
On one of the steps, the wizard will ask you to select additional components to be installed:
These components are optional, but may be needed to run some of your tests:
|These options work on Windows only. ReadyAPI VirtServer Service commands the installation wizard to install VirtServer as a Windows service. This way VirtServer will run even if no user is logged in to the computer where it is installed.
Autostart Service means that the operating system will run this service automatically upon startup. Note, however, that if you select this option, the first run of the server may result in an error: to run VirtServer you have to create a user on it first. See Run VirtServer as Service for details.
JDBC drivers for Postgres and SQL Server databases. You can download them at any time later from the PostgreSQL and MSDN web sites.
Install these drivers if your virtual services are using data sources connected to databases. If they use other databases, you will have to install database drivers manually.
After selecting the desired components, click Next to finish the installation.
The last page of the wizard has the Send usage statistics check box. Select this check box if you want to help us find out on what features to focus our development efforts: the check box will let VirtServer know that you agree to provide anonymous data on using the product.
|Tip:||You can disable collection of usage statistics later by opening the soapui-settings.xml file located in your user folder (for example, C:\Users\John.Smith\soapui-settings.xml) and changing the value of the UISettings@disable_analytics property to
After the installation is over, you may need to perform some additional actions. See below.
After the installation is over, run VirtServer, create a user on it (this is needed to control VirtServer from ServiceV) and activate the VirtServer license. These actions are rather simple. Just follow the instructions you will see on the screen.
Download the VirtServer installer from the SmartBear web site.
Make sure the installer has appropriate permissions for execution.
Run the installer with the
-c argument in its command line. Here is an example for running a 64-bit installer of VirtServer 3.2.7:
|Note:||On Windows computers, use the following command:
start /wait <VirtServer-x64-3.2.7.sh> -c
The installer will unpack files and then will continue the installation in the command-line mode.
The installer will ask you to perform the same actions that you perform in the GUI installer: specify the installation folder, choose the components to be installed, and so on. Follow the instructions you will see on the screen.
After the installation is over, run VirtServer, create a user, and activate the license (see above).
An alternative approach is to download the VirtServer .tag.gz archive and extract files from it manually. However, in this case, you will have to install JDBC drivers, Java and other components manually, as well.