Load Generator Support

Home

Load Generator Support

Summary

NetBeans Profiler supports using a load generator to replay previously saved load testing scripts. Instead of supplying its own load generator runtime the NetBeans Profiler relies on integrating third party tools.

Supported load generator tools

  • Apache JMeter Load Testing Tool (homepage)

Provided functionality

1. Create a new load testing script

Creating a new load testing script is as easy as invoking File -> New File ... -> Load Testing Scripts -> JMeter Plan

Creating new JMeter load testing script

2. Edit a load testing script

It's possible to edit a previously created load testing script. Just locate the script file within the project structure and invoke the External Edit action on the popup menu.

JMeter load testing script in project structure

For more information about editing the JMeter testing scripts see JMeter User Manual

3. Start a load testing script

The load testing script can be started
  • In standalone mode

    From the Runtime tab invoke Load Generators -> JMeter -> Start ... This action will bring up a browse dialog where you can specify the script to run.

    Load Generators in the Runtime Tab

  • From the profiler Select Task Panel

    For J2EE applications you can specify a load testing script to be run in the Select Task Panel. The selected script will be started right before the browser window is about to be opened.

    Start load generator scirpt from Select Task Panel

After the script has been loaded a new Ouptut Window is opened. The window displays the current state of the load generator and various controls to start, stop or restart the script.

Load Generator Output Window - Running

Also, you can see the current status in the Runtime tab

Load Generator Running Load Generator Stopped
Runtime tab - Load Generator Running Runtime tab - Load Generator Stopped

4. Stop and restart a load testing script

You can stop and restart a load testing script from either the Runtime tab or Output Window

  • Runtime tab
    • Stop a running load testing script

      Select a node under JMeter and invoke Stop action from the popup menu

      Runtime tab - Load Generator Running

    • Restart a stopped load testing script

      Select a node under JMeter and invoke Restart action from the popup menu

      Runtime tab - Load Generator Stopped

  • Output Window
  • Stop a running load testing script

    Use the Stop icon as shown bellow

    Load Generator Output Window - Running
  • Restart a stopped load testing script

    Use the Restart icon as shown bellow

    Load Generator Output Window - Running

Project Features

About this Project

Profiler was started in November 2009, is owned by Tomas Hurka, and has 49 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close