Forum Discussion
- JimLContributorHi,
I think that I've found one way to do this.
What I had to do was check the "Do not disable Groovy Log" setting in the File==>Preferences==>UI settings.
That allowed the Groovy logging to continue to be output during a load test.
Then, in the test case that I had in the load test, I added log.info lines in the Setup script and Teardown script, to output "START TESTCASE" and "FINISHED TESTCASE", respectively.
I also had to increase the maximum number of lines in the log (right-click in the log pane).
Jim - JimLContributorHi,
BTW, the Groovy logs have date/timestamps, but the timestamps are only hh:mm:ss. Is it possible to have the timestamps in the Groovy logs include milliseconds?
Is there something like a log4j.properties that could be tweaked to have the timestamps include milliseconds?
Thanks,
Jim - JimLContributor
JimL wrote: Hi,
BTW, the Groovy logs have date/timestamps, but the timestamps are only hh:mm:ss. Is it possible to have the timestamps in the Groovy logs include milliseconds?
Is there something like a log4j.properties that could be tweaked to have the timestamps include milliseconds?
Thanks,
Jim
Hi,
Sorry for so many posts, but I hope some of my questions/answers helps someone else in the future...
I found the answer to my own question (again), here:
viewtopic.php?f=5&t=1781
I just changed the format in that code, and VOILA! Got millisecs!
That really IS "elegant", and pretty cool, IMHO...
Jim