STS中导入Jmeter源码遇到的坑

1,用ant命令更新jars时,因在家用家里的网,网速的限制,更新非常慢

解决方案:在开始我只下载了apache-jmeter-3.2-src.zip文件,没有下载apache-jmeter-3.2.zip,之后下载apache-jmeter-3.2.zip,把其/lib下的文件夹下所有jar全部copy到project的源码项目的/lib文件夹下

2.在project目录下把eclipse.classpath中的内容复制到.classpath文件中,并覆盖;

3.启动报

An error occurred: No action handlers found - check JMeterHome and libraries

Writing log file to: D:javaworkspacejmeterinjmeter.log
================================================================================
Don't use GUI mode for load testing, only for Test creation and Test debugging !
For load testing, use NON GUI Mode & adapt Java Heap to your test requirements
================================================================================
An error occurred: No action handlers found - check JMeterHome and libraries

解决方案:运行 ant install命令,或者是直接在project的ant面板中,双击 install[default]

参考文件:http://blog.csdn.net/chris_111x/article/details/52312750

原文地址:https://www.cnblogs.com/sunshine2017/p/7469363.html