- Optional - Depending on the environment, there may be a need to install additional tools to
run VirtServer.
For example, if you need to download ReadyAPI you will need a tool like wget
Script:
sudo apt-get install wget
- Use an appropriate tool (e.g wget) to download a version of VirtServer.
Script:
wget https://dl.eviware.com/virtserver/3.17.0/VirtServer-x64-3.17.0.sh
- Optional - You may need to set permissions on file to allow installation
Script:
chmod a+x VirtServer-x64-3.17.0.sh
- Install VirtServer from the downloaded location
- When installing VirtServer, there are additional parameter options that can be specified. For example, you may want to install and start VirtServer as a service.
- Optional: If installing VirtServer on a Linux Machine, you need to do additional configuration. For details, refer to this link.
Script:
sudo sh VirtServer-x64-3.17.0.sh q -Dservice.install=true -Dservice.autostart=true
- Running services may take a few seconds before it becomes available so you may want to have
(an optional) delay before running the next step
Script:
sleep 3'
- Login to VirtServer
Script:
sudo sh /opt/SmartBear/VirtServer-3.17.0/bin/virtserver-cli.sh -login -s 127.0.0.1:9090 -u defaultUser -pw svp4ever
- Apply for a VirtServer License from SLM using CLI
Script:
sudo sh /opt/SmartBear/VirtServer-3.17.0/bin/virtserver-cli.sh -activatelicense -licenseaccesskey <Access Key> -licenseissuer SLM
To get a license access key, refer to this link.
- Use the VirtServer CLI (virtser-cli.sh) to deploy and manage virtual services For more information on CLI Utility, refer to this link
- Logout of VirtServer
Script:
sudo sh /opt/SmartBear/VirtServer-3.17.0/bin/virtserver-cli.sh -logout -s127.0.0.1:9090