|
|
Apache JMeter |
| Apache JMeter may be used to test server performance both on static and dynamic resources (files or CGI, Servlets, Perl scripts). It may well be used to simulate a heavy load on a server or network to test its strength or to analyse overall performance under different load types. You can use it to make a graphical analysis of your server or to test your server/script behavior under heavy concurrent load.
| |
| If you are behind a proxy server use the following to start JMeter: java -DproxySet=true -DproxyHost 192.168.10.10 \ -DproxyPort 80 org.apache.jmeter.JMeter | |
|
Compiling JMeter for MacOS X Server
Apache JMeter won't run on OSX out of the box since OSX is still using the older Swing classes (not those under javax.swing). I did manage to get it compiled with a few edits last night, but it runs really lousy. The interface essentially goes dead after only a short time of running. Nevertheless, I'll pass along the details of getting it running for OSX. Edit all the sources to replace occurrences of 'import javax.swing...' import 'com.sun.java.swing...' Add 'import com.sun.java.swing.preview.*' to the files JMeter.java and visualizers/FileVisualizer.java. At this point you can follow the directions given for compiling JMeter on the Apache JMeter installation page. Make sure you set up your CLASSPATH correctly for MacOS X.
The following is the minimal CLASSPATH you'll need to set (I've broken it up to make it more readable here; you'll want to remove line breaks of course): Start JMeter with (from the JMeter bin directory):
java -classpath $CLASSPATH:ApacheJMeter.jar org.apache.jmeter.JMeter
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||||