设置 Jmeter 来执行 HTTPS [英] Setting up Jmeter to do HTTPS

查看:25
本文介绍了设置 Jmeter 来执行 HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 jmeter 2.7 进行负载测试.当我们开始使用的 url 是简单的 http 时.现在我们已经转移到 HTTPS.有人可以告诉我如何在jmeter中启用ssl吗?我确实阅读了 jmeter 手册并取消了对 SSL 部分的注释(现在所有 SSL 行 :( )来自 system.properties,并且还在 Http Request sampler -> Http Request 下将协议更改为 HTTPS,但仍然没有成功.我不知道如何在 jmeter 中设置 ssl url 有什么帮助吗?有人可以指向我的链接吗?

I am using a jmeter 2.7 for my load testing. When we started of the urls to use were simple http. Now we have moved to HTTPS. Can some one tell me how to enable ssl in jmeter? I did go through the jmeter manual and un-commented the SSL portions (all SSL lines now :( ) from system.properties and also have changed the protocol to be HTTPS under Http Request sampler -> Http Request and still no success. I am lost on how to set ssl url in jmeter any help? Link that some one can point me to?

更多信息:我在我的 mac 上运行 jmeter,它有 Java 1.6 版.

some more info: I'm running jmeter from my mac and it has Java version 1.6.

推荐答案

不需要,您不需要更改任何系统属性.这是适用于以下的随机 github https 示例:

No, you need not to change any system properties. Here is random github https example that works for :

这篇关于设置 Jmeter 来执行 HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆