Why is my JTL file empty?

Printer-friendly versionSend to friend

If you expect your JTL file to contain data, however it is empty then you probably have a problem with your test script. Saving the data to a JTL file depends on the script and how JMeter interprets it.

If the JTL file was created but is empty, one can only assume that JMeter decided according to some criteria not to write any data to the file. For example, if the Errors check-box was enabled and there were no errors.

Error check-box enabled

It is hard to identify the problem once the test is terminated, however, it is recommended to follow these guidelines to avoid the situation altogether:

  1. View the JTL file halfway through the test to validate that the data is being recorded.
  2. Generate reports halfway through the test to validate that reports can generate out of the data.
  3. Always save the table data. It is recommended to save the table data just before terminating the test. Read more in our User Guide section.

If the JTL file is empty, it usually means there is a problem with the script. The best thing is to identify the problem. If you cannot identify the problem, you can bypass the problem by adding another listener using another JTL file.

If the problem persists, use our support to identify the problem in real time.