From: Http://july05122868.javaeye.com/blog/777589
First, I use jmeter2.4. The following two compressed packages are available: jakarta-jmeter-2.4.zipw.jakarta-jmeter-2.4_src.zip. The first one can be used directly. You only need to run jmeter. bat in the bin directory to view the jmeter interface. The second package is the source file, which must be compiled before running.
Next we will start to compile the source code ......
Step 1: Open myeclipse, create a new Java project, configure the project name, select import, select from the File Import, select the directory after jakarta-jmeter-2.4_src.zip extraction, and import.
Step 2: Shut down eclipseto install eclipse under jakarta-jmeter-2.4_src.zip. copy the content in classpath to replace. classpath content, and then re-enable eclipse, use ant to compile (use the build in the package. XML). At this time, there will be some compilation errors, mainly because the jar package does not exist or the version name of the jar package is inconsistent. (Note: You must copy the jar files in the Lib of jakarta-jmeter-2.4.zip to the lib directory of the project you just created, and create an empty Ext, JUnit, and API folder in the lib directory. Then, note that you need to modify the jar name under lib according to the path value referenced in the. classpath file to keep them consistent ).
Step 3: an error occurs again during compilation. jmeterSource codeOrg. Apache. jmeter. assertions. smimeassertion will report an error, mainly because the package corresponding to org. bouncycastle is missing and the package is downloaded. (Note: The download version of this item is very important. Otherwise, it won't work too well. I'm jdk1.6 and I'm going to renew it ).
OK, so that the compilation can be passed ......
Run jmeter. bat in the bin directory.