jmeter非HTTP响应代码:java.net.ConnectException [英] jmeter Non HTTP response code: java.net.ConnectException

查看:1204
本文介绍了jmeter非HTTP响应代码:java.net.ConnectException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我破坏了一个简单的HTTP Request gmail登录页面. 我遇到错误.有人可以帮助解决此问题.

I am ruining a simple HTTP Request gmail login page. i am getting below error.can anyone please help to solve this problem.

线程名称:mygroup 1-1示例开始时间:2017-02-22 12:23:25 CAT加载 时间:21094连接时间:21093延迟:0字节大小:2206标头 大小(以字节为单位):0主体大小(以字节为单位):2206样本计数:1错误计数: 1数据类型(文本" |"bin" |"):文本响应代码:非HTTP响应 代码:java.net.ConnectException响应消息:非HTTP响应 消息:连接超时:连接响应头: HTTPSampleResult字段:

Thread Name: mygroup 1-1 Sample Start: 2017-02-22 12:23:25 CAT Load time: 21094 Connect Time: 21093 Latency: 0 Size in bytes: 2206 Headers size in bytes: 0 Body size in bytes: 2206 Sample Count: 1 Error Count: 1 Data type ("text"|"bin"|""): text Response code: Non HTTP response code: java.net.ConnectException Response message: Non HTTP response message: Connection timed out: connect Response headers: HTTPSampleResult fields:

推荐答案

我不建议您使用您不拥有的应用程序进行负载测试,因为您可能将其列入黑名单,甚至更糟.请尝试以下选项:

I would not recommend practicing load testing using applications you don't own, you can be blacklisted or even worse. Try out the following options instead:

  • Welcome: Mercury Tours
  • BlazeDemo

但是,出于练习目的,最好使用部署在本地Intranet中的Web应用程序,以便您可以从操作系统角度(CPU,RAM,磁盘,网络使用情况)衡量负载.您可以部署一些免费和开源的CMS,例如 Drupal

However for practicing purposes it is better to use a web application deployed in your local intranet so you could measure the load from operating system perspective (CPU, RAM, Disk, Network usage). You can deploy some free and open source CMS like Drupal or Joomla somewhere and use it for your load testing excercises.

如果您需要检查电子邮件,最好使用JMeter的邮件阅读器采样器可以使用 POP3 负载测试您的电子邮件服务器:如何使用JMeter发送和接收电子邮件文章,以获取更多信息和示例配置.

If you need to check email it is better to do it using JMeter's Mail Reader Sampler which can fetch email messages using POP3 or IMAP protocols. Check out Load Testing Your Email Server: How to Send and Receive E-mails with JMeter article for more information and example configuration.

这篇关于jmeter非HTTP响应代码:java.net.ConnectException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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