在 JMeter 4.0 中添加 jpgc 虚拟采样器

Add jpgc dummy sampler in JMeter 4.0

JMeter 4.0 版中不存在虚拟采样器

每个 JMeter 版本都需要重新安装 JMeter 的 PluginsManager

Download the Plugins Manager JAR file and put it into JMeter's lib/ext directory. Then start JMeter and go to "Options" menu to access the Plugins Manager.

  1. Dummy Sampler 不是 JMeter 包的一部分,它是作为插件提供的。为了从以前的 JMeter 安装中传输 Dummy Sampler 插件,您需要将 jmeter-plugins-dummy-x.x.jar 文件从 lib/ext 文件夹定位到新 JMeter 安装的 lib/ext 文件夹中。需要重新启动 JMeter 才能启动插件。

  2. 如果您无法访问以前的 JMeter 安装,您可以 download the Dummy Sampler from JMeter Plugins website

  3. 请注意,安装 JMeter 插件并使它们保持最新的推荐方法是使用 JMeter Plugins Manager

  4. 最后但并非最不重要的,根据 JMeter Best Practices you should always be using the latest version of JMeter so consider upgrading to JMeter 5.0 (or whatever the latest version is available at JMeter Downloads 页)在下一个可用的机会。