当前位置: 首页 > 知识库问答 >
问题:

当我运行包含3个CSV数据配置文件的JMX脚本时,我在Blaze meter中得到100%的错误

吴建中
2023-03-14

关键绩效指标日志

timeStamp,elapsed,label,responseCode,responseMessage,threadName,success,bytes,grpThreads,allThreads,Latency,Hostname,Connect
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-3,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-1,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-4,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-5,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-2,false,2976,5,5,0,3d8ec0ef127d,392388

当我在JMETER中运行具有3个CSV数据配置文件的JMX脚本时,它工作正常,但是当我在Blaze meter中运行相同的文件时(5个小时,1分钟持续时间),得到错误443(连接超时,浏览器崩溃)错误率是100%。blaze meter中的私人帐户运行测试

1.上传了3个csv文件和JMX在烈焰计

2.在csv配置中的csv路径位置,我给出了csv文件的名称,而不是路径

3.In 火力计,它显示响应为非http

使用最新版本的JMeter,提前感谢* * *我使用过http采样器。

JMETER日志

2021-11-23 17:42:27,293 INFO o.a.j.u.JMeterUtils: Setting Locale to en_US
2021-11-23 17:42:27,307 INFO o.a.j.JMeter: Loading user properties from: /shared/.bzt/jmeter-taurus/5.2.1/bin/user.properties
2021-11-23 17:42:27,308 INFO o.a.j.JMeter: Loading system properties from: /shared/.bzt/jmeter-taurus/5.2.1/bin/system.properties
2021-11-23 17:42:27,308 INFO o.a.j.JMeter: Loading additional properties from: /tmp/artifacts/jmeter-bzt.properties
2021-11-23 17:42:27,309 INFO o.a.j.JMeter: Copyright (c) 1998-2019 The Apache Software Foundation
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Version 5.2.1
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.version=1.8.0_292
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.name=Linux
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.arch=amd64
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.version=4.14.225-168.357.amzn2.x86_64
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: file.encoding=UTF-8
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.awt.headless=true
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Max memory     =4250402816
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Available Processors =8
2021-11-23 17:42:27,313 INFO o.a.j.JMeter: Default Locale=English (United States)
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: JMeter  Locale=English (United States)
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: JMeterHome=/shared/.bzt/jmeter-taurus/5.2.1
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: user.dir  =/tmp/artifacts
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: PWD       =/tmp/artifacts
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: IP: 172.17.0.2 Name: 3d8ec0ef127d FullName: 3d8ec0ef127d
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: user.classpath=/tmp/artifacts:/tmp/artifacts
2021-11-23 17:42:27,315 INFO o.a.j.JMeter: Adding to classpath and loader: /tmp/artifacts
2021-11-23 17:42:27,315 INFO o.a.j.JMeter: Adding to classpath and loader: /tmp/artifacts
2021-11-23 17:42:27,320 INFO o.a.j.s.FileServer: Default base='/tmp/artifacts'
2021-11-23 17:42:27,321 INFO o.a.j.s.FileServer: Set new base='/tmp/artifacts'
2021-11-23 17:42:27,427 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2021-11-23 17:42:27,432 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2021-11-23 17:42:27,437 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2021-11-23 17:42:27,443 INFO o.a.j.s.SaveService: Loading file: /tmp/artifacts/modified_sample_report_portal.jmx
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2021-11-23 17:42:27,544 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2021-11-23 17:42:27,545 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2021-11-23 17:42:27,545 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2021-11-23 17:42:27,546 INFO o.a.j.JMeter: Starting Beanshell server (9000,)
2021-11-23 17:42:27,552 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2021-11-23 17:42:27,552 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2021-11-23 17:42:27,893 INFO o.a.j.JMeter: Running test (1637689347893)
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Report_Portal
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Starting 5 threads for group Report_Portal.
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2021-11-23 17:42:27,955 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2021-11-23 17:42:27,955 INFO c.b.j.t.c.ConcurrencyThreadStarter: Start supplying threads
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to UTF-8
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-2
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-5
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-1
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-4
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-3
2021-11-23 17:42:27,993 INFO o.a.j.s.FileServer: Stored: launch_names.csv
2021-11-23 17:42:28,009 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = 3d8ec0ef127d
2021-11-23 17:42:28,015 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2021-11-23 17:42:28,125 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2021-11-23 17:42:28,134 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2021-11-23 17:42:28,134 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2021-11-23 17:43:27,978 INFO c.b.j.t.c.ConcurrencyThreadStarter: Done supplying threads

共有1个答案

曹兴贤
2023-03-14

>

  • 除非您提供更多详细信息,否则没有人能够提供帮助,例如:

    • 测试计划的示意图,以便我们可以看到正在使用哪些采样器
    • 捷迈尔日志文件
    • 来自测试工件的 kpi.jtl
    • (可选)bzt.log

    如果您是BlazeMeter客户,考虑开通BlazeMeter支持票可能更有意义

  •  类似资料:
    • 启动sandbox并运行json api后,意味着我会出现以下错误:

    • AMQ6235E:缺少目录“H:”。 我无法找到解决这个问题的方法,它正在连接队列,它显示了这个错误。我不能公开我运行的代码,但我可以解释节点脚本将做什么,首先尝试连接队列管理器,然后尝试通道名,主机名,端口名,这里问题是当它需要建立连接而不是得到上面的错误

    • rom pyspark导入sparkconf 从pyspark.context导入sparkcontext 从pyspark.sql导入SparkSession,SQLContext 从pyspark.sql.types导入* df=spark.read.csv(“/home/sourabh/downloads/1535617931_lms_data_1.csv”,inferschema=true

    • 异常线程"main"java.lang.IllegalStateExcture:驱动程序可执行文件的路径必须由webdriver.gecko.driver系统属性设置;有关详细信息,请参阅https://github.com/mozilla/geckodriver.最新版本可以从https://github.com/mozilla/geckodriver/releases下载 这是我的密码。

    • 当我试图运行这个骨架代码时,我一直收到这个错误。我试图在Eclipse中使用OpenGL。我不知道是什么导致了这个问题。我如何解决这个问题?我也已经将jar文件添加到用户库中。 代码: 这是我一直在犯的错误。 错误:错误1 错误2 Plhd-19/>(JComponent. java: 4839)在java.桌面/java. awt.容器. addNotify(容器. java: 2804)在ja

    • 我有一个大的csv文件,它包含重复的行,我想删除所有这些重复的行,包含单词“Names” csv文件如下所示。我想删除所有重复“名称”“日期”“图片”的行。 我在网上尝试了不同的方法,但我找不到解决方法 我用熊猫导入csv文件df=pd.read_csv('file2022.csv')