Neoload Web Installation in Docker

In this tutorial you will learn how to install NeoLoad Web, before installing we need to understand how NeoLoad Web is different from NeoLoad standalone applications.

What is NeoLoad Web?

NeoLoad web helps multiple teams to monitor the load test at the same time using online web application, for example if you are sitting at your office and starting the load test and application developer is in another city/country and he wants to monitor the test too. Using a NeoLoad Web you can both visit the URL and see how the test is going on.

What are NeoLoad Web Components?

NeoLoad Web has mainly three components Frontend, backend and Mongo Database. Right now NeoLoad web is supported only through Dockers.

As these are available through dockers, you can install NeoLoad Web only in the following operating systems.

Ubuntu, Debian, Fedora, CentOS.

How to Install NeoLoad Web?

Choose the operating system that you want to install the NeoLoad Web, in this tutorial we are installing NeoLoad Web in Linux Operating System.

If you are installing in your Company linux system, you might not have internet connection, ask for the artifactory location where you have all the software located like Docker, Docker-Compose and NeoLoad Web Docker Location.  

Update all the packages before start of the install

yum update

install the docker software for linux

sudo yum install docker

It will ask for confirmation that it is downloading 94 MB, type Y and click on Enter and the installation continues.

Install the docker compose with the following command. Docker compose is a tool that helps to run multiple containers applications. With compose you use a Yaml file to compose all your application components and run the service.

sudo curl -L “https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

sudo service docker status

sudo service docker start

docker ps

Now you should see all the three components running, if you do not see all the components. execute the following commands and you can see what exactly the issue is.

The following command will display all the containers that are running and not running and you can also see the logs for the container executing the next command.

docker ps -a

docker container logs mongo

the mongodb is not connecting due to permission issues for /data/db, execute the following command.

setenforce 0

restart the containers using the following commands, ensure you first start the mongo, nlweb-backend and nlweb-frontend.

docker container start mongo

docker container start nlweb-backend

docker container start nlweb-frontend