• Documentation
  • Tutorials
  • Case studies
  • Blogs
  • Product

What's on this Page

  • Description
  • Usage
    • Prepare your Step agent to be able to use Docker
    • Configure your Docker registry in Step
    • Define your container settings using the Session Control
  • step
  • Plugins
  • Docker plugin
Categories: PLUGINS ENTERPRISE
This article references one of our previous releases, click here to go to our latest version instead.

Docker plugin

Description

The Step Docker plugin provides an integration with Docker and let you run containerized application with Step as well as executing test scenario (Keyword) against the containerized application.

Usage

Notes: The Step Docker plugin is only available on Step Enterprise Edition (EE).

Prepare your Step agent to be able to use Docker

Install Docker

Refer to the official Docker documentation in order to install Docker on the OS your Agent is running on.

Update the Agent configuration file

In order for the Step Controller to be able to target the Agent where Docker is running, the Agent configuration needs to be updated by adding the “$docker” selection criteria:

tokenGroups:
- capacity: 1
  tokenConf:
    attributes:
      $docker: true

If your Agent is running in a container itself, the attribute “docker.in.docker” also needs to be set:

tokenGroups:
- capacity: 1
  tokenConf:
    attributes:
      $docker: true
      docker.in.docker: true

Refer to Agent installation and to Keyword routing for more details about the Agent configuration.

Configure your Docker registry in Step

In order to use the Docker image defined in the next section of this documentation, you first need to define the Docker repository to use to pull your image.

To do so, navigate to the Admin views, select Docker registries, hit the add button and fill the informations about your registry:

  • Registry URL
  • Registry user
  • Registry password

Define your container settings using the Session Control

Now that you registry has been created, you can create your Step plan to define your test.

In order to start your containerized application on the Step Agent, you will have to use a Session control withing your plan and configure its “Docker” section accordingly:

  • Docker image: the Docker image to use to start the container
  • Container user: the user under which the application will run
  • Container command (optional) : can be used to override the default image CMD or ENTRYPOINT (useful for debugging)
  • Home
  • Whats new?
  • Admin guide
  • SaaS guide
  • User guide
  • Developer guide
  • DevOps
  • Plugins
    • .NET agent
    • Astra Plugin
    • Cypress Plugin
    • Grafana K6 Plugin
    • Node.js agent
    • SikuliX Plugin
    • Silk Performer Plugin
    • ALM
    • Azure DevOps
    • Jira Xray
    • Async packages
    • JMeter
    • SoapUI
    • PDF and Image compare
    • Artifact repository connector
    • Docker plugin
    • Maven plugins
    • Analytics and external DBs
  • Libraries
Step Logo
    • Documentation
    • Tutorials
    • Case studies
    • Blogs
    • Product
    • Home
    • Whats new?
    • Admin guide
    • SaaS guide
    • User guide
    • Developer guide
    • DevOps
    • Plugins
      • .NET agent
      • Astra Plugin
      • Cypress Plugin
      • Grafana K6 Plugin
      • Node.js agent
      • SikuliX Plugin
      • Silk Performer Plugin
      • ALM
      • Azure DevOps
      • Jira Xray
      • Async packages
      • JMeter
      • SoapUI
      • PDF and Image compare
      • Artifact repository connector
      • Docker plugin
      • Maven plugins
      • Analytics and external DBs
    • Libraries