Why jtlWriter is logging only last few minutes? #316
Replies: 1 comment
-
|
Im sorry, I am viewing the log using jmeter View Results Tree, this listener is cutting the log. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, all.
I have a problem with jtlWriter not logging all test session.
I placed it in the end of test plan, after all thread groups like this:
jtlWriter("target/jtls/success")
.logOnly(JtlWriter.SampleStatus.SUCCESS)
.saveAsXml(false)
but when I open jtl from this folder after 10 minutes test I only can see last 2 or so minutes of test in the log.
Can anyone please tell me where to fix this? I believe it is somewhere in jmeter.properties but cannot find anything similar inside this config.
Thank you in advance!
Dmitriy.
UPDATE: when I add the second writer below the first one like this:
jtlWriter("target/jtls/errors")
.logOnly(JtlWriter.SampleStatus.ERROR)
.saveAsXml(true)
.withAllFields(true)
I can see error samples that are timestamped before the first sample in success log, so the success log seems to be cut by something.
And when I am running the test for 1 minute (or 1 iteration) I can see all samples starting from setup thread group.
Beta Was this translation helpful? Give feedback.
All reactions