简体   繁体   English

无法在 jmeter 的 csv/jtl 文件中生成 100 个用户记录

[英]Unable to generate 100 users records in csv/jtl file in jmeter

I tried on my local system then it generates but only generates up to 69 users records and I gave 1000 users in non GUI mode.我在我的本地系统上尝试过,然后它生成但最多只生成 69 个用户记录,并且我在非 GUI 模式下给了 1000 个用户。

  1. May I know what would be the issue of generating 68 users?我可以知道生成 68 个用户会有什么问题吗?

  2. I have 2400 users list and want to run script and save the output.我有 2400 个用户列表,想运行脚本并保存 output。 What system configuration do I require?我需要什么系统配置? And how do we analyze system configuration per users?我们如何分析每个用户的系统配置?

  3. I am unable to find the jmeter log file.我找不到 jmeter 日志文件。

I am using this below where I have given given 1000 users to hit the server.我在下面使用这个,我给了 1000 个用户来访问服务器。

"jmeter -Jthreads=1000 -n -t Anand.jmx -l Anand1000-1.csv " “jmeter -Jthreads=1000 -n -t Anand.jmx -l Anand1000-1.csv”

  1. We don't know, check jmeter.log file , Thread Group settings, CSV Data Set Config setup and your application log我们不知道,请查看jmeter.log 文件线程组设置、 CSV 数据集配置设置和您的应用程序日志

  2. We don't know as it depends on the nature of your test, size of requests/responses, number of hits per second, presence of post-processors , assertions , etc.我们不知道,因为这取决于您的测试的性质、请求/响应的大小、每秒的命中数、 后处理器的存在、 断言等。

  3. jmeter.log file normally is in the "bin" folder of your JMeter installation. jmeter.log文件通常位于 JMeter 安装的“bin”文件夹中。 If you're launching JMeter via ie desktop shortcut - it will be in the current "working" folder.如果您通过桌面快捷方式启动 JMeter - 它将位于当前的“工作”文件夹中。 If you're still unable to find it - locate the following line in log4j2.xml file (lives in "bin" folder of your JMeter installation) :如果您仍然无法找到它 - 在log4j2.xml文件中找到以下行(位于 JMeter 安装的“bin”文件夹中)

     <File name="jmeter-log" fileName="${sys:jmeter.logfile:-jmeter.log}" append="false">

    and change ${sys:jmeter.logfile:-jmeter.log} to some hard-coded path, ie c:\temp\jmeter.log .并将${sys:jmeter.logfile:-jmeter.log}更改为一些硬编码路径,即c:\temp\jmeter.log JMeter restart will be required to pick up the change.需要重新启动 JMeter 才能获取更改。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM