The JMeter environment management feature lets you manage JMeter runtime environments in the cloud, including official and custom JAR packages. By creating standardized, reusable environments, you can avoid issues caused by inconsistent local setups, manage dependency files for different JMeter versions, and quickly configure test scenarios from pre-configured templates. This topic explains how to create, view, modify, and use JMeter environments.
Create an environment
You can create up to two JMeter environments.
-
Log on to the PTS console and choose .
-
On the Environment Management page, click Create Environment in the upper-right corner.
-
On the Create Environment page, enter an Environment Name and select a JMeter Version.
-
Click Upload File to upload required dependency files.
NoteYou can upload a maximum of 80 files, with a total size of up to 100 MB.
-
Click Upload Property File to upload a local .properties file and define JMeter properties.
-
Click Save.
The JMeter environment is created.
View and modify an environment
On the Environments page, you can view and modify an environment's name, JMeter version, and dependency files. You can also copy an environment.
-
Log on to the PTS console and choose .
-
On the Environment Management page, find the environment you want to manage and click View in the Actions column.
You are taken to the Create Environment page, where you can view or modify the environment's dependency files.
Optional: Click Copy in the Actions column to quickly copy the contents of the environment. The environment name defaults to Environment Name_Copy.
NotePerformance Testing provides built-in template environments with common configurations. These read-only template environments can be viewed and copied.
Use an environment
After you create or modify an environment, use it in a JMeter test.
-
Log on to the PTS console, choose , and then click JMeter.
-
On the Scenario Settings tab, for the Use Dependency Environment option, select Yes to choose an existing environment, or select No to choose a JMeter version.
Customize properties
When you upload a .properties file to a JMeter environment, PTS automatically parses its property names and values, allowing you to edit them directly.
-
Log on to the PTS console and choose .
-
On the Environment Management page, click Create Environment in the upper-right corner.
-
On the Create Environment page, click Upload Property File to upload a local .properties file.
The system scans for property fields from the property file, allowing you to directly edit the Attribute Name, Property Value, and Property Description on the Create Environment page.