[Polymerization] Report jmeter open ".jtl" file, display data is not complete (or not)

Problems encountered:

In a performance test, I was to generate test results (.jtl file format) back to my computer, and then use jmeter to open,

Then proceed to the next test, I open the same file again jtl found yesterday with the data displayed is not the same,

1. Open yesterday, a total of Samples to 58919,

2. Today open the same file again, the total Samples for the 21002,

Try to find the cause of the problem:

1. At first, I suspect that the data is incomplete,

Is the reason the file is too big? For this reason I went to see this jtl files, less than 2M, it should not be a problem,

2. After I suspect that jmeter inside a parameter value is too small, then I open "jmeter.bat" file using Notepad ++ (path: the bin directory jmeter folder)

The set NEW [] of "MaxNewSize" big value to the tune, save and restart jmeter, found a total of 21002 Samples is inconsistent with yesterday's

3. After I open "jmeter.properties" file using Notepad ++ (path: the bin directory jmeter folder), modify the "# view.results.tree.max_size"

 After saving, restart jmeter, we found a total of 21002 Samples is inconsistent with yesterday's

4. After I connected to the testing machine, using vi command, before the two parameters to turn up, and then restart, re-run the script, look at the test results, test results found with the saw yesterday, there are still a large discrepancy ,

Then yesterday I suspect that the data filled not right, maybe do a calculation of data in Excel, and I went to fiddle with Excel tables, after about a bell, I found that the problem is not Excel table.

Find out why

 1. On the attempt thereafter, I try to put yesterday's process to reproduce, and constantly open jtl file in various ways, intent to find the cause, and finally found the reason,

The reason is not jmeter problems of their own carelessness (which a tester, it is a very serious mistake, after this lesson, why they wrote this essay, learn a lesson, remind ourselves !!)

2. It was my second jtl before opening the file, the operation does not do [Clear]

Reproduce the error

打开01_0524_40.jtl文件,【错误:总的Samples为58919】,【正确:总的Samples为21002】

1.之前我在打开【01_0524_40.jtl】时,有打开过【01_0524_20.jtl】

2.然后我记录完【01_0524_20.jtl】后,并没有做【清除】操作,直接点击【浏览】,打开【01_0524_40.jtl】,所以 总的Samples才会变成58919,

为什么数据会变成怎么大呢?

如果我们把进度条调到上面去,就会发现,数据有进行叠加了(这就是原因)

3.如果打开第二个文件前,点击【清理】了,数据就是正确的了

 

Guess you like

Origin www.cnblogs.com/yuanbuqi/p/10935986.html