简体   繁体   English

Jmeter脚本录制未录制

[英]Jmeter Script recording not recording

The recorded the script and it was working on windows 7 machine.记录了脚本,它正在 Windows 7 机器上运行。 But now the script is not getting executed correctly in windows 10. The result is passed but aftual executions is not taking place.但是现在该脚本没有在 Windows 10 中正确执行。结果已通过,但没有进行后续执行。 Also I tried to record new script on windows 10 but the script is not getting recorded.此外,我尝试在 Windows 10 上录制新脚本,但未录制该脚本。 I am using the latest jmeter version.我正在使用最新的 jmeter 版本。 Could you please help me.请你帮助我好吗。

Jmeter should work fine on windows 10. Cross check if you are able to access application (with or without proxy). Jmeter 在 Windows 10 上应该可以正常工作。交叉检查您是否能够访问应用程序(使用或不使用代理)。 If application is accessible through proxy, you need to open jmeter with proxy command.如果可以通过代理访问应用程序,则需要使用 proxy 命令打开 jmeter。 Ensure you imported jmeter root certificate in browser.确保您在浏览器中导入了 jmeter 根证书。

You need to import JMeter's self-signed certificate into your browser.您需要将 JMeter 的自签名证书导入浏览器。 The file is called ApacheJMeterTemporaryRootCA.crt and it's being created in "bin" folder of your JMeter installation when you start HTTP(S) Test Script Recorder .该文件名为ApacheJMeterTemporaryRootCA.crt ,它是在您启动HTTP(S) Test Script Recorder时在 JMeter 安装的“bin”文件夹中创建的。

Check HTTPS recording and certificates chapter of the above article for the exact steps of certificate installation for different browsers.有关不同浏览器的证书安装的确切步骤,请查看上述文章的HTTPS 记录和证书章节。

Mozilla Firefox and derivatives have their own certificate storage, other browsers use Windows certificate storage, you can inspect it using Certificate Management Tool Mozilla Firefox及其衍生产品有自己的证书存储,其他浏览器使用 Windows 证书存储,您可以使用证书管理工具检查它

在此处输入图片说明

If JMeter's certificate is not there - you will need to install it.如果 JMeter 的证书不存在 - 您将需要安装它。


Be aware that there is an easier way of recording a JMeter test which doesn't require configuring proxies or installing certificates: JMeter Chrome Extension , just install it, start recording and perform your scenario steps in browser请注意,有一种更简单的记录 JMeter 测试的方法,不需要配置代理或安装证书: JMeter Chrome 扩展,只需安装它,开始记录并在浏览器中执行您的场景步骤

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM