在Azure中运行加载测试时获取此错误消息。未找到“钥匙店”文件,加载空密钥库”。
我已经在测试计划中上传了.jmx脚本和CVS文件。并在环境变量中添加了“授权令牌”为参数(因为我不想给出秘密)。因此,当执行测试时,“找不到密钥库文件,在日志文件中显示“空密钥库”消息,并且测试失败。我如何解决此问题。
I have uploaded .jmx script and CVS files in the test plan. And added an "Authorize Token" as parameter in the Environment Variables (as I don't want to give secrets). So when the test is executed, "Keystore file not found, loading empty keystore" message is displayed in the log file and test is failed. How do I fix this issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您的测试使用 客户端-端证书您需要:
上传密钥库以及您的测试计划和CSV 文件
设置相应的JMeter 系统属性:
javax.net.ssl.keyStore
- 包含密钥库文件的路径javax.net.ssl.keyStorePassword
- 密钥库文件的密码If your test is using client-side certificates you need to:
Upload the keystore along with your test plan and the CSV file
Set the corresponding JMeter system properties:
javax.net.ssl.keyStore
- with the path to the keystore filejavax.net.ssl.keyStorePassword
- with the password for the keystore file您目前无法通过Azure负载测试来操纵密钥库。您只能通过Azure密钥库提供单个用户证书。
来自 azure docs
You currently cannot manipulate the keystore through Azure load testing. You can only provide a single user certificate through Azure Key Vault.
From the Azure docs