Load testing behind the firewall

This tutorial number 4 demonstrates how to create an on-premise provider and install a local OctoPerf load testing agent.

This agent can be used to monitor and load test private applications, secured behind a firewall, such as Intranet portals. It can be installed directly on linux using Docker or on Windows and MacOS using Kitematic.

Notes:

You can also install the complete OctoPerf infrastructure at home, on your own servers, via the Enterprise Edition.

Transcript

0s

Hello and welcome to this tutorial number 4.

2s

This is Guillaume speaking again, and today we will install our first OctoPerf agent together.

9s

The OctoPerf on premise agent can be used to generate load and monitor servers.

14s

When your application is not public or when testing in a private environment

19s

the on premise agent allows to run the tests with OctoPerf anyway.

23s

To create an agent, we need to go to the on premise page in our OctoPerf account.

29s

Here we can create a new provider. The most important setting will be the amount of memory allocated to machines inside this provider.

38s

If we are comfortable with JMeter we can go to the advanced memory settings and change them,

43s

otherwise it is best to keep the default values.

46s

Then we can define different regions that will be useful if we plan on installing agents in different networks.

54s

When the provider is created, there is an option to install a new agent right here.

59s

First we select the region in which we want to create this agent, then we are given the two command lines to get it running.

67s

OctoPerf agents are easier to install on linux, but we can install one on windows or Mac OS using kitematic.

75s

Note that an OctoPerf agent requires two ports to be opened in order to function properly.

80s

The port 8080 to rancher.octoperf.com as can be seen in the command line, this one will be used during the installation of the agent.

89s

The other is the port 443 to api.octoperf.com, this one will be used for all the metrics gathered by the agent.

99s

These two ports must be opened from the agent to our servers since an outgoing connection will be less of a security issue.

107s

That being said, I have a linux VM running on which we can install the agent.

112s

Docker is already installed here so I will just run the agent command line right away.

117s

The installation process takes a bit of time to download the different files.

122s

Once installed, a quick "docker ps -a" shows that we now have a set of containers running.

129s

Back in OctoPerf we can see our agent running, which means we can also create a monitoring agent on this machine.

137s

It's a simple process since it only requires a click here and to select the region.

142s

In the background a new container dedicated to monitoring will be created.

148s

Now we are ready to proceed with the rest of our test campaign.

151s

Thanks for following, I hope this was usefull.

154s

As usual, feel free to comment if you have any question and keep in mind the build in chat is the shortest way to contact us.

160s

Next time we will define a monitor together.

163s

Thanks for watching, take care, bye.