# Performance of logging execution steps

**URL:** <https://forum.katalon.com/t/performance-of-logging-execution-steps/49778>\
**Category:** Feature Request\
**Tags:** feature-request, katalon-studio\
**Created:** [December 1, 2020, 9:40pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778 "2020-12-01T21:40:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Wilkinson](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/daniel_wilkinson/32/16104_2.png) [@Daniel\_Wilkinson](https://forum.katalon.com/u/Daniel_Wilkinson)\
**Post date:** [December 1, 2020, 9:40pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/1 "2020-12-01T21:40:02Z")

</div>

Hi,

I’m aware that the ability to disable the logging of execution steps is an Enterprise feature; however could the performance of logging to the Console be reviewed? I have a test suite that completes after 3 minutes; however 15 minutes later, the test finally completes within the Console.

My test does involve a large number of variables, calling other test cases within various API calls and if statements; however there must surely be some room for improvement in the performance of this logging of test steps within the console.

Is this something that can be reviewed for a future release?

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [December 1, 2020, 9:44pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/2 "2020-12-01T21:44:18Z")

</div>

That’s just weird.

Are you using any kind of integration?  
Are you running on the bare metal or through a VM?  
Headless?

Lastly, what version of Katalon?

---

<div class="post-metadata">

**Author:** ![Daniel\_Wilkinson](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/daniel_wilkinson/32/16104_2.png) [@Daniel\_Wilkinson](https://forum.katalon.com/u/Daniel_Wilkinson)\
**Post date:** [December 1, 2020, 9:55pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/3 "2020-12-01T21:55:14Z")

</div>

Sorry, should have included the Katalon version - 7.8.0.

Katalon is running on my laptop, no VM. The test suite runs as a web service test.

The only ‘integration’ of sorts, is with Katalon Test Ops, nothing else.

For reference, the ‘execution0’ log file contains 94,546 lines of data (3.2 MB), so fairly large, but the difference in time between the test completing and the logging completing shouldn’t be so different.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [December 1, 2020, 10:07pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/4 "2020-12-01T22:07:56Z")

</div>

My logs are terminating at ~10MB so I think we can discount that possibility.

Are you running the suite in studio? What does it say it’s doing while that 15 minutes is ticking by…?

Any clue in the log?

---

<div class="post-metadata">

**Author:** ![Daniel\_Wilkinson](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/daniel_wilkinson/32/16104_2.png) [@Daniel\_Wilkinson](https://forum.katalon.com/u/Daniel_Wilkinson)\
**Post date:** [December 1, 2020, 10:23pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/5 "2020-12-01T22:23:50Z")

</div>

Yes, it’s running in the Studio application.

Whilst running, I can see the test steps being added to the Console log as it progresses; however after 3 minutes or so, the ‘job progress’ indicator will show as ‘passed’ (albeit ‘1/6’ for example) and the Console log will continue for another 15 minutes or so, until it completes.

I’ve attempted to click the ‘delete all terminated launches’ button in the ‘job progress’ pane; however Katalon just becomes unresponsive and crashes.

---

<div class="post-metadata">

**Author:** ![Daniel\_Wilkinson](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/daniel_wilkinson/32/16104_2.png) [@Daniel\_Wilkinson](https://forum.katalon.com/u/Daniel_Wilkinson)\
**Post date:** [December 1, 2020, 10:28pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/6 "2020-12-01T22:28:35Z")

</div>

A minor amendment to the above, it’s the ‘Log Viewer’ that I should have been referring to, rather than the ‘Console’.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [December 1, 2020, 11:50pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/7 "2020-12-01T23:50:49Z")

</div>

@duyluong Any ideas?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [December 2, 2020, 1:25am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/8 "2020-12-02T01:25:53Z")

</div>

Quoting from [Log Viewer results significantly delayed - #2 by kazurayam](http://forum.katalon.com/t/log-viewer-results-significantly-delayed/46485/2)

> > the “Log Viewer” gets significantly delayed in relation to the actions being performed on the website

> This may occur when you have too many messages from the executed Test Case, eg. by WebUI.comment(msg) or by “Step Execution Log”. …

> You have an alternative way of decreasing Test Cases’ “Step Execution Log” messages.

> Katalon Studio would not emit any verbose “Step Execution Log” messages for Keywords. I recommend you to transfer your codes in the Test Cases (Groovy scripts) into the Keywords (Groovy classes). Especially you should transform the codes which are repeatedly executed. Once you have implemented it as Groovy classes, you will replace the original codes in Test Cases with codes that invoke methods of the new Classes. Then the amount of “Step Execution Log” will become less. Less messages will make Log Viewer responsive.

---

<div class="post-metadata">

**Author:** ![Daniel\_Wilkinson](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/daniel_wilkinson/32/16104_2.png) [@Daniel\_Wilkinson](https://forum.katalon.com/u/Daniel_Wilkinson)\
**Post date:** [December 2, 2020, 11:17am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/9 "2020-12-02T11:17:51Z")

</div>

Thanks for your feedback in regards to Keywords. They’re not something that I’m familiar with, but I’ll aim to move some of my code from the test cases to keywords.

Ideally I’d like to send an API request within a test case and then verify values within the keywords, do you happen to know whether this is feasible, i.e. do they work in this way?

Back to my original point, it would be helpful if Katalon could review the logging performance (if it is something that they can control), as although this keyword approach may be a workaround (and perhaps make my code more efficient), it does seem an area that could be optimised to improve the product.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [December 2, 2020, 11:46am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/10 "2020-12-02T11:46:11Z")

</div>

Prior to the version 7.0, an option was available by which you can disable Step Execution Log so that you can decrease the log verbosity. However that option was changed to be available only the Katalon Studio Enterprise.

> [@Project Settings \> Executions \> Enable/Disable logging executed steps; is it deprecated?](http://forum.katalon.com/t/project-settings-executions-enable-disable-logging-executed-steps-is-it-deprecated/41799):
>
> In the Katalon Document [https://docs.katalon.com/katalon-studio/docs/working-with-execution-log.html](https://docs.katalon.com/katalon-studio/docs/working-with-execution-log.html) it sais that Log executed test steps Starting from Katalon Studio version 7.0 , an option to disable Log executed test steps is available in Project Settings \> Executions . By enabling or disabling this option, you can decide whether the logs include executed test steps or not. I am using Katalon Studio ver7.2.1 on Mac. I looked at Project Settings \> Execution, I can not find the GUI w…

@Daniel_Wilkinson

If you are a Katalon Studio Enterprise user, you can try the option “disable logging executed steps”

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [December 2, 2020, 11:55am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/11 "2020-12-02T11:55:09Z")

</div>

> [@Daniel\_Wilkinson](#):
>
> it would be helpful if Katalon could review the logging performance (if it is something that they can control),

I agree with you.

@ThanhTo  
@devalex88  
@duyluong

In this couple of weeks, I found number of posts in this forum raised performance issues, like [this](http://forum.katalon.com/t/why-doesnt-this-for-set-work/49593/15). The verbose Step Execution Log affects them badly. Let me remind you that, as your products are developed, so are the users as well. They will try larger scale projects, and they are likely to find “Katalon Studio is too slow”. This reputation would harm your business.

I would suggest to you Katalon team to change your mind. The “Enable/Disable logging executed steps” should be available to all users free of charge.

* * *

@Dung_Ngo5 @Dung_Ngo6 @testleonhart1234 @testleonhart324

Dung Ngo,

Where are you?

---

<div class="post-metadata">

**Author:** ![Daniel\_Wilkinson](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/daniel_wilkinson/32/16104_2.png) [@Daniel\_Wilkinson](https://forum.katalon.com/u/Daniel_Wilkinson)\
**Post date:** [December 2, 2020, 11:55am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/12 "2020-12-02T11:55:14Z")

</div>

@kazurayam - unfortunately I’m not a Katalon Studio Enterprise user; hence the request to see whether the logging performance could be addressed as a future change.

I’ve started to look at keywords, I just need to understand how I can make use of local variables!

---

<div class="post-metadata">

**Author:** ![YoungNgo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/youngngo/32/15132_2.png) [@YoungNgo](https://forum.katalon.com/u/YoungNgo)\
**Post date:** [December 7, 2020, 6:45am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/13 "2020-12-07T06:45:14Z")

</div>

Dear Kazu,

Sorry for my late reply. We’ll look into this and get back to you later.

Best regards,  
Young Ngo

---

<div class="post-metadata">

**Author:** ![ziyaad.ellahee](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ziyaad.ellahee/32/16103_2.png) [@ziyaad.ellahee](https://forum.katalon.com/u/ziyaad.ellahee)\
**Post date:** [January 26, 2021, 4:24pm UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/14 "2021-01-26T16:24:09Z")

</div>

> [@kazurayam](#):
>
> an alternative way of decreasing Test Cases’ “Step Execution Log” messages

any update on that?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [January 27, 2021, 12:01am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/15 "2021-01-27T00:01:40Z")

</div>

No, I haven’t heard anything about this issue.

---

<div class="post-metadata">

**Author:** ![YoungNgo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/youngngo/32/15132_2.png) [@YoungNgo](https://forum.katalon.com/u/YoungNgo)\
**Post date:** [January 28, 2021, 5:56am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/16 "2021-01-28T05:56:09Z")

</div>

We are still working on that and will update soon.

---

<div class="post-metadata">

**Author:** ![gfortier](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gfortier/32/16104_2.png) [@gfortier](https://forum.katalon.com/u/gfortier)\
**Post date:** [March 25, 2021, 2:09am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/17 "2021-03-25T02:09:26Z")

</div>

It’s crazy when you use Data Driven Testing… I’m looking forward for this issue to be resolved.

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/8/7/8767bb963cce39e29c76778741d842f90b04d33b.png)

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [March 29, 2021, 5:15am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/18 "2021-03-29T05:15:17Z")

</div>

@gfortier

I understand that your “Test Cases/Gestion/ProcessExcelLine” took long (129,110s), and you seem to be expecting that your Test Case will run faster if you could disable the logging of Step Execution. But I think it wouldn’t. I suppose there is some other factor that makes your Test Case to take long. I would suggest to you to look at your case from different point of view.

As @Daniel_Wilkinson reported :

> I have a test suite that completes after 3 minutes; however 15 minutes later, the test finally completes within the Console.

His Test Case ran in 3 minutes, and logged as it took 3 minutes. But Katalon Studio took more 15 minutes to flush the bulky buffered message texts to the LogView GUI. The additional 15 minutes would not appear as figures recorded in the log at all.

---

<div class="post-metadata">

**Author:** ![gfortier](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gfortier/32/16104_2.png) [@gfortier](https://forum.katalon.com/u/gfortier)\
**Post date:** [March 30, 2021, 4:58am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/19 "2021-03-30T04:58:43Z")

</div>

@kazurayam  
I don’t think so because you can clearly see a pattern in the execution log. Plus the time is near exponential.  
Also, when I look at the Run itself, I see the execution of the script doing like a “thread sleep” but the Log viewer continue to write… and once the log viewer is near the test case execution, then the execution continue perfectly. And they all do nearly the same test, the only difference is the Data and some verify, but the core of the test is the same. I guess, I’ll have to write another bug?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [November 23, 2021, 8:22am UTC](https://forum.katalon.com/t/performance-of-logging-execution-steps/49778/22 "2021-11-23T08:22:45Z")

</div>

> [@Daniel\_Wilkinson](#):
>
> I have a test suite that completes after 3 minutes; however 15 minutes later, the test finally completes within the Console.

PLS have a look at this topic:

> [@Log Viewer slows down your tests. How to prevent it?](http://forum.katalon.com/t/log-viewer-slows-down-your-tests-how-to-prevent-it/60252/3):
>
> Time lag I will give you another surprise. Test Suite TS1 actually finishes processing data far earlier before the Log Viewer flushes all logs. I have done an experiment. In Katalon Studio v8.2.0, I opened both the Console widget and the Log Viewer widget. The Log Viewer is configured to show Tree view. [[Console\_LogViewer]](https://github.com/kazurayam/ks_LogViewerSlowsDownTests_HowToPrevent/blob/master/docs/images/Console_LogViewer.png) I measured how long the TS1 takes to finish. The result was interesting: Widget duration duration graph In Console 4 min 5 sec ######################### In Lo…
