JMeter Support

Document created by DPM Admin Employee on Jul 20, 2017Last modified by Dave Murphy on Sep 26, 2017
Version 2Show Document
  • View in full screen mode

As of SOASTA 57.04 (limited availability) and SOASTA 57.09, CloudTest is capable of running JMeter Tests.

TIP: Current JMeter Support is compatible with JMeter 2.13 and Jmeter-Plugins standard library 1.4.0.

Below, you will find information on:

Configuring JMeter Tests

You can configure a JMeter test two ways: using the create new button in Central or the Test Now Wizard (described in the next section).

  1. Log into your CloudTest instance.
  1. In the Central tab, click JMeter Tests then the create new button.

 

  1. The New JMeter Test pop-up will appear. When you are done importing your JMX file, click Next.
    • Drag and drop your JMX file directly into the window or click Browse… to find the file in your system.
    • The JMX file name is shown below the window and the Finish button becomes available once the file imports successfully.

 

 

  1. You must use existing seed data or import your own.
    • Use the search box to filter seed data in the system and find it more quickly.
    • Multiple seed data objects can be selected at this step by using the checkboxes shown.
    • If you need to import new seed data, initiate the process by clicking Import Seed Data.

JMeter Seed Data

 

  1. Match seed data properties with your JMX. Click Next when you're done. We always try to map and auto-select JMeter properties to your seed data by matching property names with column names. However, some properties are not set automcatically during a test run and we have to point those properties to another file source, like internal seed data files. If you choose to link a JMeter property to seed data in the Composition Editor, you must specify the seed data it comes from, as well as which column in the seed data to use.
    • You can select the value type.

Note:  You can choose Constant in the Extracted From column, and enter a value to be substituted

 

Seed Data Properties

 

  1. Use existing plugins or import your own:
    • You can use the search box to filter plugins in the system and find them more quickly.
    • Select multiple plugin objects by using the checkboxes shown below.
    • If you need to import new plugins, initiate this process by clicking the New Plugin button.

JMeter Plugins

JMeter Plugins Details

 

After you finish creating your JMeter test, it will be listed when you click the Central tab.

Test Now Wizard

Alternatively, you can also create a JMeter Test by clicking the Test Now button atop your CloudTest instance > Import a JMeter test.

The steps outlined in the section above also apply to this method of creating JMeter tests. The only differences are the testing locations and JMeter preferences dialog windows, both of which are described below.

  • Using the Test Now Wizard, you will encounter a location map to choose your testing locations.

 

The All Providers (set to this by default) dropdown menu allows you to filter by Cloud Provider Accounts. Use the Add Other Locations dropdown menu to choose locations that don't have defined coordinates and can't be plotted on the map.

By default,  Any Location is selected in the location map. To select a location, click the ring next to a location name (will become highlighted). If there are multiple clouds in one location, coordinate details will appear.

When you select a location, it will appear in the location table. You can specify the Server Type for a location in the table. The default server type is General, while other available types are Load and Dedicated Load. If you choose Dedicated Load server type, the column for Copy Count becomes enabled, and you can specify an integer.

Tips

  • Use the "+/-" buttons to zoom in or zoom out of the map.
  • Drag the map around to see more of it.
  • Using the Test Now Wizard, you can edit your JMeter test preferences. The preference options will be greyed out until you place a checkmark. Click Test Now when you're done. 

TIP: Settings from the JMeter test itself will be used unless the checkbox is selected to override a value.

 

 

Editing JMeter Tests

You can edit an existing JMeter test by:

  • Double-clicking a test listed on your Central tab.
  • Right-clicking a test > Open.

Three different tabs atop the Edit JMeter Test dialog allow you to quickly switch between seed data, property mapping, and plugin settings.

 

Note: You will not see the Seed Data or Property Mapping tabs if your JMeter test has no properties to map.

When editing JMeter tests, you can Import Seed Data, or use existing data.

 

Note: You will not see the Seed Data or Property Mapping tabs if your JMeter test has no properties to map.

When editing JMeter tests, you can specify extraction and column location with Property Mapping.

When editing JMeter tests, you can Import Plugins, or use existing plugins.

JMeter in the Composition Editor

To open your JMeter Test in the Composition Editor, right-click the appropriate JMeter test listed in your CloudTest instance and select Open in Composition in the drop-down menu.

TIP: You can drag JMeter tests onto new tracks in the Composition Editor.

Editing General Settings
  1. Open your JMeter Test in the Composition Editor and  click the Properties tab.
  2. Click your JMeter Test, under JMeter Composition in the lower panel, and then click the General tab.
    • JMeter properties will appear in the main properties area when a JMeter test is selected in the Properties panel.
    • General settings are available here. The file name is visible with an icon to browse for another if swapping JMX files is necessary.
    • Specific settings are available for each thread group. Users simply select a thread group and then edit settings for that thread group.

Editing JMeter Plugins
  1. Open your JMeter Test in the Composition Editor and click the Properties tab.
  2. Click your JMeter Test, under JMeter Composition in the lower panel, and then click the JMeter Plugins tab.
  3. Select the Plugin(s) you wish to implement.
    • JMeter Plugins provide you with a way to edit plugins associated with the composition.
    • The plugin pane allows you to activate and deactivate plugins, import new plugins, and delete plugins.
    • The settings area contains plugin-specific settings.

Editing JMeter Test Preferences

Open your JMeter Test in the Composition Editor and click the Properties tab. Click on the appropriate Thread Group Name to edit preferences.

Attachments

    Outcomes