PageSourceSearch

https://docs-production-katalon.netlify.app/assets/js/4b819fcb.17d14827.js

js docs-production-katalon.netlify.app collected 2026-10-03 10:41:53 UTC 24,801 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkKatalon_Docs=self.webpackChunkKatalon_Docs||[]).push([[8334],{4842:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/ks-tree-view-314e3dccc9c23104b1cba93e4fa217c0.png"},11470:(e,t,n)=>{n.d(t,{A:()=>k});var s=n(96540),i=n(18215),o=n(17559),r=n(23104),a=n(56347),l=n(205),c=n(57485),d=n(31682),u=n(70679);function h(e){return s.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,s.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function g(e){const{values:t,children:n}=e;return(0,s.useMemo)((()=>{const e=t??function(e){return h(e).map((({props:{value:e,label:t,attributes:n,default:s}})=>({value:e,label:t,attributes:n,default:s})))}(n);return function(e){const t=(0,d.XI)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,n])}function p({value:e,tabValues:t}){return t.some((t=>t.value===e))}function x({queryString:e=!1,groupId:t}){const n=(0,a.W6)(),i=function({queryString:e=!1,groupId:t}){if("string"==typeof e)return e;if(!1===e)return null;if(!0===e&&!t)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return t??null}({queryString:e,groupId:t});return[(0,c.aZ)(i),(0,s.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(n.location.search);t.set(i,e),n.replace({...n.location,search:t.toString()})}),[i,n])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:i}
1=e,o=g(e),[r,a]=(0,s.useState)((()=>function({defaultValue:e,tabValues:t}){if(0===t.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(e){if(!p({value:e,tabValues:t}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${e}" but none of its children has the corresponding value. Available values are: ${t.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return e}const n=t.find((e=>e.default))??t[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:o}))),[c,d]=x({queryString:n,groupId:i}),[h,m]=function({groupId:e}){const t=function(e){return e?`docusaurus.tab.${e}`:null}(e),[n,i]=(0,u.Dv)(t);return[n,(0,s.useCallback)((e=>{t&&i.set(e)}),[t,i])]}({groupId:i}),w=(()=>{const e=c??h;return p({value:e,tabValues:o})?e:null})();(0,l.A)((()=>{w&&a(w)}),[w]);return{selectedValue:r,selectValue:(0,s.useCallback)((e=>{if(!p({value:e,tabValues:o}))throw new Error(`Can't select invalid tab value=${e}`);a(e),d(e),m(e)}),[d,m,o]),tabValues:o}}var w=n(92303);const f={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var b=n(74848);function j({className:e,block:t,selectedValue:n,selectValue:s,tabValues:o}){const a=[],{blockElementScrollPositionUntilNextRender:l}=(0,r.a_)(),c=e=>{const t=e.currentTarget,i=a.indexOf(t),r=o[i].value;r!==n&&(l(t),s(r))},d=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const n=a.indexOf(e.currentTarget)+1;t=a[n]??a[0];break}case"ArrowLeft":{const n=a.indexOf(e.currentTarget)-1;t=a[n]??a[a.length-1];break}}t?.focus()};return(0,b.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.A)("tabs",{"tabs--block":t},e),children:o.map((({value:e,label:t,attributes:s})=>(0,b.jsx)("li",{role:"tab",tabIndex:n===e?0:-1,"aria-selected":n===e,ref:e=>{a.push(e)},onKeyDown:d,onClick:c,...s,className:(0,i.A)("tabs__item",f.tabItem,s?.className,{"tabs__item--active":n===e}),children:t??e},e)))})}function v({lazy:e,children:t,selectedValue:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===n));return e?(0,s.cloneElement)(e,{className:(0,i.A)("margin-top--md",e.props.className)}):null}return(0,b.jsx)("div",{className:"margin-top--md",children:o.map(((e,t)=>(0,s.cloneElement)(e,{key:t,hidden:e.props.value!==n})))})}function y(e){const t=m(e);return(0,b.jsxs)("div",{className:(0,i.A)(o.G.tabs.container,"tabs-container",f.tabList),children:[(0,b.jsx)(j,{...t,...e}),(0,b.jsx)(v,{...t,...e})]})}function k(e){const t=(0,w.A)();return(0,b.jsx)(y,{...e,children:h(e.children)},String(t))}},19365:(e,t,n)=>{n.d(t,{A:()=>r});n(96540);var s=n(18215);const i={tabItem:"tabItem_Ymn6"};var o=n(74848);function r({children:e,hidden:t,className:n}){return(0,o.jsx)("div",{role:"tabpanel",className:(0,s.A)(i.tabItem,n),hidden:t,children:e})}},24644:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/ks-trace-a3330602cd9d11ae5bc28be2ad25a7a9.png"},28453:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>a});var s=n(96540);const i={},o=s.createContext(i);function r(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),s.createElement(o.Provider,{value:t},e.children)}},34061:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/ks-log-properties-ab9a9b7c7f3e8d0b22bfc5a33719302a.png"},45280:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/ks-debug-7dd69a0a8017ba6bcc0ca37fce724fb0.png"},50811:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/ks-disabled-668fbde809421d4b90e9432e1067a00f.png"},73988:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/ks-log-executed-test-steps-7c55b06848810a9c4a93c299607fdfab.png"},85350:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>d,default:()=>p,frontMatter:()=>c,metadata:()=>s,toc:()=>h});const s=JSON.parse('{"id":"test-reports/view-test-reports/view-and-customize-execution-log-in-katalon-studio","title":"View and customize execution log in Katalon Studio","de
1scription":"Viewing the execution log is the very first approach when troubleshooting automation test execution. The critical information in the log can quickly help project teams pinpoint the root causes of any issues. Katalon Studio execution logs are optimized to provide such information so that you can have a comprehensive view of the tests run.","source":"@site/docs/katalon-studio/test-reports/view-test-reports/view-and-customize-execution-log-in-katalon-studio.md","sourceDirName":"test-reports/view-test-reports","slug":"/test-reports/view-test-reports/view-and-customize-execution-log-in-katalon-studio","permalink":"/katalon-studio/test-reports/view-test-reports/view-and-customize-execution-log-in-katalon-studio","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1787815300000,"frontMatter":{"title":"View and customize execution log in Katalon Studio"},"sidebar":"katalon-studio","previous":{"title":"Windows Test Objects in Katalon Studio","permalink":"/katalon-studio/test-objects/windows-test-objects/windows-test-objects-in-katalon-studio"},"next":{"title":"View Katalon True Platform execution summary in Katalon Studio","permalink":"/katalon-studio/test-reports/view-test-reports/view-katalon-testops-execution-summary-in-katalon-studio"}}');var i=n(74848),o=n(28453),r=n(86025),a=n(11470),l=n(19365);const c={title:"View and customize execution log in Katalon Studio"},d=void 0,u={},h=[{value:"View Execution Log",id:"view-execution-log",level:2},{value:"Tabular view vs. Tree View",id:"tabular-view-vs-tree-view",level:3},{value:"Scroll Lock",id:"scroll-lock",level:3},{value:"Customize Console Log",id:"customize-console-log",level:2},{value:"Execution Progress Debugger",id:"execution-progress-debugger",level:3},{value:"Extensive logs for Web Service testing",id:"extensive-logs-for-web-service-testing",level:3},{value:"Logs Configuration",id:"logs-configuration",level:3},{value:"Log executed test steps",id:"log-executed-test-steps",level:3},{value:"Summary",id:"summary",level:3}];function g(e){const t={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...e.components},{Details:s}=t;return s||function(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"Viewing the execution log is the very first approach when troubleshooting automation test execution. The critical information in the log can quickly help project teams pinpoint the root causes of any issues. Katalon Studio execution logs are optimized to provide such information so that you can have a comprehensive view of the tests run."}),"\n",(0,i.jsxs)(t.p,{children:["Katalon Studio provides two ",(0,i.jsx)(t.strong,{children:"Execution Log"})," experiences:"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"New Execution Log UI (beta): a modernized interface with improved visuals and navigation."}),"\n",(0,i.jsx)(t.li,{children:"Legacy Execution Log UI: the original interface for users who prefer the previous layout."}),"\n"]}),"\n",(0,i.jsxs)(t.p,{children:["The new Execution Log UI is enabled by default for new installations. To switch back to Legacy, navigate to ",(0,i.jsx)(t.strong,{children:"Project"})," > ",(0,i.jsx)(t.strong,{children:"Settings"})," > ",(0,i.jsx)(t.strong,{children:"Execution"})," and un-check the ",(0,i.jsx)(t.strong,{children:"Enable Execution Viewer"})," option."]}),"\n",(0,i.jsx)(t.h2,{id:"view-execution-log",children:"View Execution Log"}),"\n",(0,i.jsxs)(t.p,{children:["After executing a test case or test suite, you can review the results in the ",(0,i.jsx)(t.strong,{children:"Log Viewer"})," tab."]}),"\n",(0,i.jsxs)(a.A,{children:[(0,i.jsxs)(l.A,{value:"new-execution-log",label:"New Execution Log",default:!0,children:[(0,i.jsxs)(t.p,{children:["The new ",(0,i.jsx)(t.strong,{children:"Execution Log UI"})," provides an improved layout for reviewing test execution results, making it easier to identify failures, inspect step details, and review execution information."]}),(0,i.jsx)("iframe",{src:"https://demo.arcade.software/GAoFlIalKl9Pnsas9JOf?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true",title:"Log Viewer in Katalon Studio",frameborder:"0",loading:"lazy",webkitallowfullscreen:!0,mozallowfullscreen:!0,allowfullscreen:"true",allow:"clipboard-write",style:{width:"100%",height:"400px",border:"none"}}),(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Known limitations:"})," ",(0,i.jsx)(t.strong,{children:"Jump to issue"})," is not yet supported in the new execution viewer."]}),"\n"]})]}),(0,i.jsxs)(l.A,{value:"legacy_execution_log",label:"Legacy Execution Log",children:[(0,i.jsx)(t.p,{children:"The Log Viewer provides detailed, real-time logs of each test step, including status, duration, browser and platform info, and any errors encountered during execution."}),(0,i.jsx)("img",{src:"https://tw-cdn.katalon.com/katalon-studio/test-report/View+test+reports/KS_10.3.0_view_execution_log.png",alt:"
1View KS 10.3.0 execution log",width:"600"}),(0,i.jsx)(t.p,{children:"Features include:"}),(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Pass/Fail icons: Each test step is marked with a green check (\u2705) for passed steps and a red cross (\u274c) for failed steps, making it easy to identify issues at a glance."}),"\n",(0,i.jsx)(t.li,{children:"Step Details: Click on any test step to view its detailed execution logs, including error messages (if applicable)."}),"\n",(0,i.jsxs)(t.li,{children:["Execution Metadata: The Log Viewer displays useful context such as:","\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Browser type and version"}),"\n",(0,i.jsx)(t.li,{children:"Platform (e.g., Windows, macOS)"}),"\n",(0,i.jsx)(t.li,{children:"Selenium version"}),"\n",(0,i.jsx)(t.li,{children:"Session ID"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(t.li,{children:"Expand/Collapse Steps: Use the arrow icons on the left to expand or collapse individual test steps for a more focused view."}),"\n"]})]})]}),"\n",(0,i.jsx)(t.h3,{id:"tabular-view-vs-tree-view",children:"Tabular view vs. Tree View"}),"\n",(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["Tabular view is not available in ",(0,i.jsx)(t.strong,{children:"New Execution Log"}),"."]}),"\n"]})}),"\n",(0,i.jsxs)(t.p,{children:["The Log Viewer can be viewed in different modes: ",(0,i.jsx)(t.strong,{children:"Tabular view"})," and ",(0,i.jsx)(t.strong,{children:"Tree view"}),". You can switch to ",(0,i.jsx)(t.strong,{children:"Tree View"})," by selecting the toggle as illustrated below:"]}),"\n",(0,i.jsx)("img",{src:"https://tw-cdn.katalon.com/katalon-studio/test-report/View+test+reports/KS_10.3.0_Log_viewer_switch_view.png",alt:"Switch Log Viewer to Tabular or Tree view",width:"600"}),"\n",(0,i.jsxs)(t.p,{children:["The ",(0,i.jsx)(t.strong,{children:"Tree View"})," display logs in a structural way that relates to how the test case/test suite is organized. Additionally, you can navigate to the respective step by selecting from the context menu, as shown below:"]}),"\n",(0,i.jsx)("img",{src:"https://tw-cdn.katalon.com/katalon-studio/test-report/View+test+reports/KS_10.3.0_Log_viewer_in_tree_view.png",alt:"View Log Viewer in Tree view",width:"600"}),"\n",(0,i.jsxs)(t.p,{children:["The ",(0,i.jsx)(t.strong,{children:"Log Viewer"})," can be viewed in different modes: ",(0,i.jsx)(t.strong,{children:"tabular"})," view and ",(0,i.jsx)(t.strong,{children:"tree"})," view. You can switch to tree view by selecting the ",(0,i.jsx)(t.strong,{children:"Tree View"})," toggle as illustrated below:"]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Tree View toggle in Log Viewer",src:n(4842).A+"",width:"2094",height:"154"})}),"\n",(0,i.jsxs)(t.p,{children:["The ",(0,i.jsx)(t.strong,{children:"Tree View"})," displays logs in a structural way that relates to how the test case/test suite is organized. Additionally, you can navigate to the respective step by selecting from the context menu, as shown below:"]}),"\n",(0,i.jsx)("img",{src:"https://tw-cdn.katalon.com/katalon-studio/test-objects/api-test-objects/log-viewer.png",alt:"Log Viewer in KS",width:"1080"}),"\n",(0,i.jsx)(t.h3,{id:"scroll-lock",children:"Scroll Lock"}),"\n",(0,i.jsxs)(t.p,{children:["While the test is being executed, the ",(0,i.jsx)(t.strong,{children:"Log Viewer"})," is being updated with real-time log messages, where the most recent log messages is shown at the bottom. Therefore, the ",(0,i.jsx)(t.strong,{children:"Log Viewer"}
1)," keeps scrolling down during the test execution. However, users may want to keep the ",(0,i.jsx)(t.strong,{children:"Log Viewer"})," standing still so that they can verify particular log messages. To stop this scrolling behavior, you can select ",(0,i.jsx)(t.strong,{children:"Scroll Lock"}),"."]}),"\n",(0,i.jsx)("img",{width:"500",alt:"Scroll lock",src:"/5a313140-5627-11ed-a602-0242cfbc79b5/ks-852-scroll-lock.png"}),"\n",(0,i.jsx)(t.h2,{id:"customize-console-log",children:"Customize Console Log"}),"\n",(0,i.jsx)(t.h3,{id:"execution-progress-debugger",children:"Execution Progress Debugger"}),"\n",(0,i.jsx)(t.p,{children:"Katalon Studio execution log displays complete details of actions performed during the test run to help you debug better. The test log contains all relevant information about the test run. Full test step statements and desired capabilities information are also included. Log levels are ANSI color-coded for different kinds of levels: INFO, DEBUG, WARING, and ERROR for an easier view of the execution log, as shown in the screenshot below."}),"\n",(0,i.jsx)("img",{width:"700",src:"/5a296910-5627-11ed-a602-0242cfbc79b5/ks-console-log.png",alt:"Console log"}),"\n",(0,i.jsx)(t.h3,{id:"extensive-logs-for-web-service-testing",children:"Extensive logs for Web Service testing"}),"\n",(0,i.jsxs)(t.p,{children:["Sending and receiving Web Service can be a troublesome task due to many factors involved on both the client and server sides. The\xa0",(0,i.jsx)(t.code,{children:"HAR"}),"\xa0file contains low-level data to help you identify critical performance problems with Web services quickly."]}),"\n",(0,i.jsxs)(t.p,{children:["Katalon Studio includes the\xa0",(0,i.jsx)(t.code,{children:"HAR"}),"\xa0file in the Web Service execution log. Upon sending requests, you can access the\xa0",(0,i.jsx)(t.code,{children:".har"}),"\xa0files from the\xa0",(0,i.jsx)(t.strong,{children:"Console"}),"\xa0tab. The file is stored directly on the current executed machine."]}),"\n",(0,i.jsx)("img",{alt:"har file in console tab",src:"https://tw-cdn.katalon.com/katalon-studio/test-report/View test reports/View and customize execution log in Katalon Studio/KS_10.4.2_cURL/har-file-with-curl.png",width:"700"}),"\n",(0,i.jsxs)(t.p,{children:["If you execute Web Service test suites, you can right-click at the desired ",(0,i.jsx)(t.strong,{children:"Report"})," folder and choose\xa0",(0,i.jsx)(t.strong,{children:"Open containing folder"}),". The\xa0",(0,i.jsx)(t.code,{children:".har"}),"\xa0files are stored in the main folder of the generated reports folder. For example, the file path can be\xa0",(0,i.jsx)(t.code,{children:"20230608_112253/requests/main/0.har"}),"."]}),"\n",(0,i.jsx)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:(0,i.jsx)("img",{className:"image",width:500,src:(0,r.Ay)("/9cd23000-0de0-11ee-bd0e-0242c7a41fd4/ks-har-files-path.png")})}),"\n",(0,i.jsxs)(t.p,{children:["Using the\xa0",(0,i.jsx)(t.code,{children:".har"}),"\xa0file in services analyzer such as\xa0",(0,i.jsx)(t.a,{href:"https://toolbox.googleapps.com/apps/har_analyzer/",children:"HAR Analyzer"}),"\xa0of Google Admin Toolbox can provide quality insights about the Web Service request and response. This helps the project team quickly identify key issues and efficiently allocate resources to address the issue. Some issues that can be identified include:"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Performance issues: slow page load, a timeout when performing a specific task"}),"\n",(0,i.jsx)(t.li,{children:"Page rendering issues: incorrect page format or missing information"}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"cURL command logging for API requests"})}),"\n",(0,i.jsx)(t.p,{children:"Katalon Studio generates a cURL command for each executed Web Service request."}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"You can copy the cURL command to:"}),(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Share exact requests with developers or DevOps without manual setup."}),"\n",(0,i.jsx)(t.li,{children:"Reproduce and debug issues quickly."}),"\n",(0,i.jsx)(t.li,{children:"Work seamlessly with tools like Postman or browser DevTools."}),"\n"]})]}),"\n",(0,i.jsx)(t.admonition,{type:"note",children:(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["The cURL stored in the ",(0,i.jsx)(t.code,{children:"HAR"})," file is identical to the one printed in the log."]}),"\n",(0,i.jsxs)(t.li,{children:["For ",(0,i.jsx)(t.strong,{children:"AWS, NTLM, and Digest"})," authentication, the cURL command will not include authentication details. Other authentication types will appear in the Console or Event Log."]}),"\n",(0,i.jsxs)(t.li,{children:["The cURL command supports a ",(0,i.jsx)(t.strong,{children:"maximum payload size of 20 KB"}),"; any data beyond this will be truncated."]}),"\n"]})}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["When executing from the ",(0,i.jsx)(t.strong,{children:"Object Repository"})," \u2192 cURL appears in the ",(0,i.jsx)(t.strong,{children:"Event Log"}),"."]}),"\n"]}),"\n",(0,i.jsx)("img",{alt:"object repo display curl",src:"https://tw-cdn.katalon.com/katalon-studio/test-report/View test reports/View and customize execution log in Katalon Studio/KS_10.4.2_cURL/object-repo-cURL.png",width:"700"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["When executing from a ",(0,i.jsx)(t.strong,{children:"Test Case"})," or ",(0,i.jsx)(t.strong,{children:"Test Suite"})," \u2192 cURL appears in the ",(0,i.jsx)(t.strong,{children:"Console and Log Viewer"}),"."]}),"\n"]}),"\n",(0,i.jsx)("img",{alt:"test suite test case display curl",src:"https://tw-cdn.katalon.com/katalon-studio/test-report/View test reports/View and customize execution log in Katalon Studio/KS_10.4.2_cURL/test-suite-curl-console.png",width:"700"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"When you expand the corresponding API request entry in the Log Viewer panel, the generated cURL appears as a formatted block under the request details."}),"\n"]}),"\n",(0,i.jsx)("img",{alt:"curl block format",src:"https://tw-cdn.katalon.com/katalon-studio/test-report/View test reports/View and customize execution log in Katalon Studio/KS_10.4.2_cURL/cURL-block-under-log-viewer.png",width:"700"}),"\n",(0,i.jsx)(t.h3,{id:"logs-configuration",children:"Logs Configuration"}),"\n",(0,i.jsx)(t.p,{children:"The deepest level of logs is called TRACE. Use the TRACE level when you need more log details than DEBUG level, which is used by default. You can also lessen the logs' details by using the INFO level."}),"\n",(0,i.jsxs)(t.p,{children:["In case you want to change the log's level of one or multiple packages, this setting is located and stored in ",(0,i.jsx)(t.strong,{children:"Include"})," > ",(0,i.jsx)(t.strong,{children:"Config"})," > ",(0,i.jsx)(t.code,{children:"log.properties"})," file."]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"log.properties in Include &gt; Config",src:n(34061).A+"",width:"1632",height:"740"})}),"\n",(0,i.jsxs)(t.p,{children:["By uncommenting the ",(0,i.jsx)(t.code,{children:"logging.level.com.kms=TRACE"})," line, the differences are noticeable:"]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Before"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Debug log level output",src:n(45280).A+"",width:"2124",height:"610"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"After"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Trace log level output",src:n(24644).A+"",width:"2124",height:"502"})}),"\n",(0,i.jsx)(t.h3,{id:"log-executed-test-steps",children:"Log executed test steps"}),"\n",(0,i.jsxs)(t.p,{children:["Go to ",(0,i.jsx)(t.strong,{children:"Project Settings"})," > ",(0,i.jsx)(t.strong,{children:"Executions"})," and find the option for ",(0,i.jsx)(t.strong,{children:"Log executed test steps"}),". By enabling or disabling this option, you can decide whether the logs include executed test steps."]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Log executed test steps option",src:n(73988).A+"",width:"1568",height:"1224"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Enabled"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Log executed test steps enabled",src:n(95071).A+"",width:"2066",height:"468"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Disabled"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Log executed test steps disabled",src:n(50811).A+"",width:"2070",height:"778"})}),"\n",(0,i.jsx)(t.h3,{id:"summary",children:"Summary"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Katalon Studio execution logs are enhanced for a better debugging process and observation of execution progress."}),"\n",(0,i.jsxs)(t.li,{children:["The log level can be configured directly from the ",(0,i.jsx)(t.code,{children:"log.properties"})," file."]}),"\n",(0,i.jsxs)(t.li,{children:["A ",(0,i.jsx)(t.code,{children:".har"})," file is generated and stored in Web Service request logs. It c
1an be used to analyze and troubleshoot performance or connection issues (if any)."]}),"\n",(0,i.jsx)(t.li,{children:"Logs can be set to include or exclude the executed test steps."}),"\n"]}),"\n",(0,i.jsxs)(t.p,{children:["Learn more about working with the execution log in our Katalon Academy course: ",(0,i.jsx)(t.a,{href:"https://academy.katalon.com/courses/software-test-reporting/?utm_source=kat_docs&utm_medium=execution%20_log",children:"Katalon Studio: How To Work With Execution Logs and Test Reports"}),"."]})]})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},95071:(e,t,n)=>{n.d(t,{A:()=>s});const s=n.p+"assets/images/ks-step-enabled-02994b307e8f4509723168335e059111.png"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.