Wednesday Sep 12, 2007

Adding custom libraries to JMeter in NB

Lately, we had an issue filed about adding the mail.jar to the JMeter plugin distribution (see here to see the details).

This might seem as a valid request until you realize that the JAR in the question is an optional one and there might be many more optional JARs required for running particular JMeter tests there surely must be a better way to that than including ever more libraries in the distribution.

And there is - you just need to copy the library to ${jmetermodule}/lib directory. Depending on whether you choose to install the JMeter module in the shared directories or not the ${jmetermodule} resolves as one of the following

  1. ${nbuserdir}/modules/jmeter - for the standard installation
  2. ${nbinstall}/extra/modules/jmeter - for the installation into shared directories

Enjoy!

About

A blog by NetBeans Profiler & VisualVM developers.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today