This section describes how to set up load generators on a Linux or Windows distribution using Docker.
- The Windows Dockerized load generator feature is provided as a tech preview version, for Web - HTTP/HTML and Java protocols.
- Dockerized load generators are not supported when running over a firewall.
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.
For general details regarding Docker, see https://docs.docker.com.
Dockerized load generator image
You can pull load generator Docker images for Linux or Windows from the following pages in the Docker hub:
Note: The image for Linux is also provided with the LoadRunner installation package, in the InsData folder of the ISO file.
For instructions on running the Dockerized load generator, see the LoadRunner Installation Guide.
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).
Note: Any errors encountered by Dockerized load generators are written to the Output window under the Docker node host name and port.