Apache JMeter Plugin

The plugin allows you to upload tests from PFLB Platform to edit them in Apache JMeter

The plugin supports Apache JMeter 5.4.1 and higher.

Install the plugin

  1. Request a JAR file of the plugin from the Technical support.

  2. Copy the JAR file to the folder: JMETER_HOME\lib\ext.

  3. Create the JMETER_HOME\bin\pflb.properties file and fill in the file before Apache JMeter runs:

    • pflb_url. URL of the platform.

    • api_token. API token.

    • tmp_dir. The folder where tests downloaded from PFLB Platform.

    Example of the config file:

    pflb_url=https://mycompany.pflb.us
    api_token=<API token>
    tmp_dir=/home/jmeter/
    

Use the plugin

To edit the PFLB Platform test in Apache JMeter, follow these steps:

  1. Run Apache JMeter.

  2. In the upper-right corner of the Apache JMeter window, click jmeter_plugin_button. The list of the PFLB Platform OWN_JMX tests opens. To refresh the list, click Reload if needed.

  3. Expand the required test and select the version:

    ../_images/um_jmeter_plugin_list.png
  4. Click Download. The JMX file downloaded from PFLB Platform will open:

    ../_images/um_jmeter_plugin_project.png

    Note

    If the Name and Comments fields are not filled in for the script element, then PFLB Platform generates unique values of these fields. For example:

    ../_images/um_jmeter_plugin_name_comments.png
  5. Edit and save the JMX file.

  6. Create a new test and import the JMX file.

To change the plugin settings, go to the Settings tab:

../_images/um_jmeter_plugin_settings.png