Configure Dockerized load generators

This section describes how to set up load generators on a Linux or Windows distribution using Docker.

    Note:
  • The Windows Dockerized load generator feature is provided as a tech preview version.
  • Dockerized load generators are not supported when running over a firewall.
  • FTP is not fully supported with load generator for Docker on Windows. Passive mode FTP is supported, but Active mode FTP is not.

About Dockerized load generators

Docker is a platform that allows you to develop, ship, and run applications via a container. Docker uses a standard container format that lets developers prepare applications inside containers, while system administrators and other teams, such as Quality Assurance engineers, run the container in order to deploy the application. This is a quick and effective way to port applications across systems and machines, and run them within their own secure environments.

You can run load generator hosts inside Docker containers, using Linux or Windows Dockerized load generator images.

Supported protocols on Dockerized load generators:

  • Windows: Web - HTTP/HTML, Web Services, DevWeb, and Java protocols
  • Linux: Web - HTTP/HTML, DevWeb

For general details regarding Docker, see https://docs.docker.com.

Back to top

Dockerized load generator image

You can pull load generator Docker images for Linux or Windows from the following pages in the Docker hub:

For instructions on running the Dockerized load generator, see Installation.

Back to top

Assign load generator containers to scenarios

To assign the Dockerized load generator containers to scenarios, in the Add New Load Generator dialog box, configure the load generator Name as follows:

<host machine name>_dkr_<port_number>

Replace <port_number> with the port that is mapped to the Docker container (the <host_port> used when running the container).

For example:

myHost_dkr_10110

Note: Any errors encountered by Dockerized load generators are written to the Output window under the Docker node host name and port.

Back to top

Got it!
Welcome to the help center for LoadRunner Professional, formerly known as LoadRunner. LoadRunner Professional is part of the new Micro Focus LoadRunner family of performance testing products.