Load testing and Performance testing are important for discovering bottlenecks in your system and determining the load capacity it can handle. Most of the time, it is necessary to carry out these tests behind the firewall of companies for data privacy and security.
Loadium provides On-Premise Load Generator solution to run performance testing behind firewall.
What is On-Premise Load Generator?
Our service that creates the load on the servers in your tests with Loadium is called Load Generator. In standard tests, Load Generator is located on Loadium servers. It runs the tests in its environment and creates loads by sending requests to the servers of the companies.
Some companies operate behind firewalls to protect their servers from DDOS and similar attacks. In this case, the load generated by the Load Generator is usually blocked by the firewall.
Unlike standard tests in the use of On-Premise Load Generator, the Load Generator service runs on the company’s own server that runs the test. This way, it can safely perform load tests behind the firewall.
How Does On-Premise Load Generator Work?
The On-Premise Load Generator is run with Docker Container launched inside the company’s servers. On-Premise Load Generator sends periodic requests to the Loadium server, receives the test information to be run and runs the tests in the company server. During the test, the load test is performed without any data leaving the server. While the test is running, Load Generator provides the report by uploading the statistical metric data it collects to Loadium servers.
When the Load Generator completes a test, it continues to request Loadium servers for a new test. Loadium server does not attempt to access the Load Generator service from the outside. As soon as the On-Premise Load Generator is turned off, all communication is completely cut off.
Using the Load Generator in the Loadium Interface
Its installation is done in the fastest and easiest way in the industry. It is sufficient to install Docker in the working environment for the setup. You can complete the installation in one step with the Docker command generated in the Loadium interface.
First create Private Location to group your On-Premise Load Generators from the Loadium interface. Then copy the generated docker command by adding Load Generator into Pricate Location and run the command in an environment with docker installed. This way, Load Generator will be operational within 1 minute (depending on internet speed).
It is necessary to group the On-Premise Load Generators with different parameters such as the source they use, access authorizations and the test types they are allocated (eg: “Dev Agents”, “Prod AgentsIn this way, a Private Location is created and added to Load Generators to group agents with similar characteristics. Then, Private Locations created as the location where the test will run should be selected on the test creation and update screens.
You can review this Wiki for detailed installation steps: https://wiki.loadium.com/getting-started/on-premise
Running Performance Tests Behind a Firewall
Due to the increasing number of cyber attacks, companies take many security measures to keep their software and data safe. Different measures should be taken for each step in the software life cycle. There is an On-Premise Load Generator solution provided by Loadium for the precautions you can take in the test step.
Data with high security risks are generally stored on companies’ own servers or in cloud environments that are not accessible from the outside. In such cases, companies should choose methods that can work behind the firewall to test performance.
You can meet your security needs with 2 easy methods in Loadium product to run load tests on servers behind the firewall.
1. Using On-Premise Load Generator
On-Premise Load Generator is used as the most reliable method in environments with critical data. On-Premise Load Generators are services that create requests during testing and send them to company servers and also can be called ‘Agents. Depending on the size of the test, the number of Agents needed is installed on their own servers by the companies. The agent runs the tests inside the server and in no way the data sent and received during the test go out of the server. Tests are carried out without any external access to the company server. Agents can securely upload the statistical metric data they collect during the test to Loadium servers with HTTPS protocol and generate reports.
Agents are run as Docker Container on the company server, cloud platform or personal computer and remain completely under customer supervision. For security purposes, you can restrict the environments that Agents can access from the machine where they are installed, and monitor all traffic and ensure that the data generated during the test is securely stored.
2. Using Dedicated IPs
On some platforms, they are asked to make load tests by making IPs selected from the specific IP pool accessible. Of course, this method causes many security vulnerabilities. A more reliable method is to use a dedicated IP. You can use it in tests by purchasing dedicated IPs that other customers cannot use and cannot learn.
All traffic generated during the test will be generated over the IPs you purchased. Your company’s servers must allow traffic from these IP addresses. To start using, it will be sufficient to define Dedicated IPs to Whitelist in your company’s Firewall. Then, you can perform your tests with the ‘Use Dedicated IP’ option in the tests you want.