Thursday September 07, 2006
JMeter - local load generators
This is the second release of my
attempt at integrating JMeter
with NetBeans. In this release, I've added support for local load
generators. I know I should have added support for remote load
generators as well. Work got in the way. Here is a screenshot
of my latest attempt.

Click to enlarge
The local load generators are in the Runtime tab. Can execute a test plan by
right clicking on the localhost and select 'Generate load'. However, you must first load a test plan into the editor. Otherwise you will get a message asking you to load a test file. Hopefully in the next release you should just select a test file and it should work. Still trying to figure out how to get a list of current selected node in NetBeans. Pointers appeciated.
or you can select a test file in the project window, right click and select 'Generate load'. With this method, you do not need to load a test plan into the editor.
I've also integrated JMeter's status bar into NetBeans. So when you start a load generator, you can see the number of threads starting up at the bottom right hand corner. To stop just reselect 'Generate load' again. This is a toggle action. If you are running a load generator on a say testplan_a and you wish to now generate load for testplan_b. You do not need to shutdown testplan_a. Just go to testplan_b file, right click and select 'Generate load'. The module will stop testplan_a, save testplan_b changes and start the load generator for it.
You can get the NBM here. I forgot to post the sources when I blog about this the last time. Here is the latest sources.
Sep 07 2006, 04:45:24 PM SGT Permalink