1. Download jakarta-jmeter-2.4_src.zipand jakarta-jmeter-2.4.zip. 2. Download Three jar packages (it is important that N errors occur), which are mail. jar, JMS. jar, and activation. jar. 3. Copy the jar package in libunder jakarta-jmeter-2.4.zipto the lib directory under jakarta-jmeter-2.4_src.zip and add the downloaded three jar packages. And modify the commons-logging1.1.jar to the commons-logging.jar. Then add three empty folders Ext, JUnit, and API under the lib directory (mainly to correspondJmeterEclipse. classpath .) 4. Open eclipse and create a new one.JavaProject, name, select import, select import from file, select the directory after jakarta-jmeter-2.4_src.zip extraction, select all directories except the src directory. Then import the src directory (because the src directory already exists in the new Java project. 6. 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, select project compilation, there will be some compilation errors, mainly because the jar package does not exist or the jar package version name is inconsistent, download the corresponding jar package or modify the jar package name to make it conform. classpath description information until no error is reported during compilation. 7. The jmeter source code org. Apache. jmeter. assertions. smimeassertion reports an error, mainly because the package corresponding to org. bouncycastle is missing and the package is downloaded. (Bcmail. jar and bcprov. Jar) 8. Compile properly at this time. After the compilation is successful, use ant to compile normally (you need to install ant on the local machine and set the Jdl environment variable) 9. After ant compilation is passed, select org. Apache. jmeter. newdriver to set the running configuration.Arguments"Tag,WorkSelect Directory instead of defaultOthersSet/{project directory}/bin. Other Default values. Or you can refer to the http://people.apache.org /~ Mkostrze/jmeter-Eclipse/index.html 10. After the setting is successful, you can run or debugjmeter. |