简体   繁体   English

JMeter:Sampler结果显示“ Sample Start:1970-01-01 05:30:00 IST”

[英]JMeter: Sampler results shows “Sample Start: 1970-01-01 05:30:00 IST”

I am trying to reuse a simple script written in JUnit to hit www.google.com in JMeter, however, Invalid Date/Time is displayed in Sampler Result as “Sample Start: 1970-01-01 05:30:00 IST” . 我正在尝试重用用JUnit编写的简单脚本来在JMeter中访问www.google.com ,但是,无效的日期/时间在Sampler Result中显示为“ Sample Start:1970-01-01 05:30:00 IST”。

My System Date/Time is up to date and same Date/Time is not displayed for others scripts. 我的系统日期/时间是最新的,其他脚本未显示相同的日期/时间。

Please Refer JMeter Script: 请参考JMeter脚本:

采样结果

Also, 也,

  1. JUnit .jar script is added to JMeter/lib/junit JUnit .jar脚本已添加到JMeter / lib / junit
  2. Selenium and JUnit .jar files are added to JMeter/lib Selenium和JUnit .jar文件已添加到JMeter / lib

JUnit脚本

Please help as I am stuck to this point and could not get desired suggestions yet from google. 请您提供帮助,因为我仍然坚持这一点,但仍无法从Google获得所需的建议。

  • Well, trying against a site like google.com always gave me a wrong results, Please try performing the tests on some site on which you have an authority/control ( just my honest opinion) , because we may need to check few settings on local and server as well 好吧,尝试使用google.com这样的网站总是会给我带来错误的结果,请尝试在您拥有权限/控制权的某个网站上进行测试(仅是我的诚实意见),因为我们可能需要检查一些本地设置和服务器
  • please check for plugins you may have installed and ensure there are no conflicts in the libraries you are using. 请检查您可能已安装的插件,并确保所使用的库中没有冲突。
  • please refer to documentation available at https://jmeter.apache.org/usermanual/junitsampler_tutorial.pdf 请参阅位于https://jmeter.apache.org/usermanual/junitsampler_tutorial.pdf的文档

暂无
暂无

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

相关问题 如何在 -01:-05:00 到 -01:05:00 中制作时间格式 - how to make a time format in -01:-05:00 to -01:05:00 如何正确地将新的Date(0L)转换为LocalDate(1970-01-01)? - How to properly convert new Date(0L) to LocalDate (1970-01-01)? 为什么 java.sql.Timestamp 在 1970-01-01 之后返回负值 - why java.sql.Timestamp return negative value when the date is after 1970-01-01 如何从Java中的纪元(1970-01-01)获得毫秒? - How do I get milliseconds from epoch (1970-01-01) in Java? 为什么我的 SQLite 查询将系统日期返回为 1970-01-01? - Why is my SQLite query returning the system date as 1970-01-01? 如何更改 LocalDateTime 的默认纪元 1970-01-01T00:00:00Z - How to change the default epoch of 1970-01-01T00:00:00Z for LocalDateTime 为什么将分钟数添加到1900-01-01 00:00:00会导致秒数更改? - Why does adding minutes to 1900-01-01 00:00:00 results in a change in seconds? 使用 Instant.parse 解析 2018-05-01T00:00:00 日期时出错 - Error while parsing 2018-05-01T00:00:00 date using Instant.parse java:如何将日期从“ 2014年5月1日星期四00:00:00西部”投射到“ 2014-01-05 00:00:00.0” - java : How can I cast Date from “Thu May 01 00:00:00 WEST 2014 ” to “2014-01-05 00:00:00.0” 将完整的Java日期(例如,2013年6月19日上午8.00)转换为一个时间(即1970-01-01上午8.00) - Convert a full Java date (e.g. 8.00am 2013-06-19) to just a time (i.e. 8.00am 1970-01-01)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM