Docker Image containing released builds of ReadyAPI TestEngine.
1M+
ReadyAPI TestEngine allows SmartBear users to run ReadyAPI functional API tests in an automated, server-based environment. It delivers the most value when used together with ReadyAPI and CI/CD pipelines.
Versions '1.25.1' and later mitigate the log4j CVE-2021-44228 vulnerability.
Default API address: http://localhost:8080
version: "3.8"
services:
testengine:
image: smartbear/readyapi-testengine:latest
container_name: testengine
ports:
- "8080:8080"
- "8443:8443"
environment:
- TESTENGINE_PASSWORD=admin_password # password for admin user
- TestEngineUser=john.smith # username for a new user
- TestEnginePassword=secret # user password
- TestEngineUserRole=Admin
- SlmAccessKey=YOUR_ACCESS_KEY_HERE
- SlmServer=https://license-server.example.com # optional
volumes:
- ./data:/data # optional
- ./ext:/ext # optional
restart: unless-stopped
Start the service:
docker-compose up -d
docker run -d \
--name testengine \
-v /opt/testengine/data:/data \ # optional
-v /opt/testengine/ext:/ext \ # optional
-p 8080:8080 \
-p 8443:8443 \
-e TESTENGINE_PASSWORD=your-admin-password \ #password for admin
-e TestEngineUser=john.smith \ # username for a new user
-e TestEnginePassword=secret \ #password for user
-e TestEngineUserRole=Admin \
-e SlmAccessKey=YOUR_ACCESS_KEY_HERE \
--restart unless-stopped \
smartbear/readyapi-testengine:latest
docker run -d \
-v /opt/testengine/data:/data \
-p 8080:8080 \
-e TESTENGINE_PASSWORD=your-admin-password \
-e SlmAccessKey=<SLM access key> \
smartbear/readyapi-testengine:latest
docker run -d \
-v /opt/testengine/data:/data \
-p 8080:8080 \
-e TESTENGINE_PASSWORD=your-admin-password \
-e SlmServer=<SLM license server address> \
-e SlmAccessKey=<SLM access key> \
smartbear/readyapi-testengine:latest
docker run -d \
-v /opt/testengine/data:/data \
-p 8080:8080 \
-e TESTENGINE_PASSWORD=your-admin-password \
-e SlmAccessKey=<SLM access key> \
-e JVM_OPT_db_driver="<VARIABLE_SYNTAX>" \
-e JVM_OPT_db_url="<VARIABLE_SYNTAX>" \
-e JVM_OPT_db_user="<VARIABLE_SYNTAX>" \
-e JVM_OPT_db_password="<VARIABLE_SYNTAX>" \
smartbear/readyapi-testengine:latest
docker run -d \
-v /opt/testengine/data:/data \
-p 8080:8080 \
-e TESTENGINE_PASSWORD=your-admin-password \
-e TestEngineSandbox=true \
-e SlmAccessKey=<SLM access key> \
smartbear/readyapi-testengine:latest
| Parameter | Required | Description |
|---|---|---|
-v {path}:/data | ➖ | Mounts /data to {path} on the local file system. Persists configuration, database, and logs. |
-v {path}:/ext | ➖ | Mounts /ext to {path} on the local file system. Used for additional extension JAR files. |
-p 8080:8080 | ✅ | Publishes the HTTP port from the container to the host. |
-p 8443:8443 | ➖ | Publishes the HTTPS port from the container to the host. |
When running docker run (or the equivalent in Docker Cloud or similar platforms), you pass configuration values to the container using environment variables.
In Docker Cloud and similar platforms, you typically configure these variables in a table view. When running from the command line, define them as environment variables in the container configuration.
The following parameters are available:
| Parameter | Required | Description |
|---|---|---|
TESTENGINE_PASSWORD | ✅* | Sets the admin account password on startup. |
TESTENGINE_RESET_ADMIN_ACCOUNT | ➖ | If set (any value), resets the admin account on startup. |
TestEngineUser | ➖ | User name added to the TestEngine user database. |
TestEnginePassword | ➖ | Password for TestEngineUser. |
TestEngineUserRole | ➖ | Role assigned to TestEngineUser (e.g. Admin). |
TestEngineSandbox | ➖ | Set to true to disable Groovy, DataSource, DataSourceLoop, and DataSink test steps. |
TestEngineVMOptions | ➖ | Comma-separated list of key=value JVM system properties. |
TestEngineClassPathExt | ➖ | Location of the ext directory for adding additional JAR files. |
TestEngineLicense | ➖ | Path to a license key file inside the container. |
SlmAccessKey | ✅ | SLM license access key for automatic license activation. If omitted, the server expects a license file passed using TestEngineLicense. |
SlmServer | ➖ | SLM license server URL. Only needed when using a customer-managed on-premises license server. |
ConfigFilePath | ➖ | Path to an alternative configuration file. |
CONFIG | ➖ | Image-relative path to the configuration YAML file. Defaults to /data/readyapi-testengine.yaml. |
JVM_OPT_<unique_id> | ➖ | Additional JVM options. Use the format JVM_OPT_1=-Dproperty=value. |
* Required only for the initial run. If you reuse the same storage volume (/data) between runs, TestEngine retains its stored configuration and user data.
readyapi-testengine.yaml)The configuration file is persisted at /data/readyapi-testengine.yaml. It supports `` substitution. You can override individual properties at runtime using JVM_OPT_* variables with VARIABLE_SYNTAX like this: -Ddw.<path>=<value>.
| Property | Type | Default | Description |
|---|---|---|---|
server.applicationConnectors | list | HTTP on 8080 | HTTP/HTTPS connectors with port, bindHost, and keystore settings. |
server.adminConnectors | list | [] | Admin API connectors. |
log4jConfigurationFile | string | log4j2.xml | Log4j configuration file. |
allowedConnectTargets | list | ['*'] | Outgoing connection restrictions in java.net.SocketPermission format. |
allowedIncomingConnectTargets | list | [] | Incoming connection restrictions. |
usageStatisticsEnabled | boolean | true | Sends usage statistics to SmartBear. |
maxConcurrentJobs | int | 10 | Maximum concurrent test jobs. Excess jobs are queued. |
allowedFilePaths | list | [] | Server paths accessible for direct file reads in tests. |
maxDaysToKeep | int | 60 | Days to keep completed jobs (-1 to disable). |
maxJobsToKeep | int | -1 | Maximum completed jobs to keep (-1 to disable). |
testStepJdbcConnectionsAllowed | boolean | false | Allows JDBC connections from test steps. Enabling this can be a security risk. |
pdfReportsEnabled | boolean | true | Enables PDF report generation. |
gitPath | string | null | Path to the git executable. |
repositories | list | [] | Git repository configurations. |
database.driverClass | string | org.h2.Driver | JDBC driver class. |
database.user | string | smart | Database user. |
database.password | string | bear | Database password. |
database.url | string | jdbc:h2:~/.readyapi/db/testengine | JDBC connection URL. |
database.minSize | int | 4 | Minimum number of database connections. |
database.maxSize | int | 32 | Maximum number of database connections. |
Content type
Image
Digest
sha256:af82e19db…
Size
893.7 MB
Last updated
3 months ago
docker pull smartbear/readyapi-testengine