Hi guys,
We are using Katalon Runtime Engine (on a VM) with TestOps & GIT.
Recently, i added a new functionnality (send mail after TestSuite Collection and TestSuite, it’s working fine on my Laptop with KSE 10.2.0). In the debug log on TestOps i can see some error about sending the email.
[2025-05-16T07:52:16.285Z] [DEBUG]: System is unable to email report. Reason: groovy.lang.MissingPropertyException: No such property: totalIncomplete for class: Script1
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:65)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:341)
at Script1.run(Script1.groovy:1)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:427)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:461)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:436)
at com.kms.katalon.groovy.util.GroovyStringUtil.evaluate(GroovyStringUtil.java:24)
at com.kms.katalon.execution.util.MailUtil.sendSummaryMailForTestSuite(MailUtil.java:178)
at com.kms.katalon.execution.launcher.ReportableLauncher.sendReportEmail(ReportableLauncher.java:364)
at com.kms.katalon.execution.launcher.ReportableLauncher.sendReport(ReportableLauncher.java:307)
at com.kms.katalon.execution.launcher.ReportableLauncher.preExecutionComplete(ReportableLauncher.java:164)
at com.kms.katalon.execution.launcher.ProcessLauncher.onWatchdogComplete(ProcessLauncher.java:200)
at com.kms.katalon.execution.launcher.LaunchWatchdog.notifyProcessTerminated(LaunchWatchdog.java:136)
at com.kms.katalon.execution.launcher.LaunchWatchdog.run(LaunchWatchdog.java:66)
at java.base/java.lang.Thread.run(Thread.java:833)
After investiguation, i found that the KRE version used by the agent is outdated (9.7.5).
In testOps, it is configure to use the latest version.
I tried to delete the 9.7.5 folder, but the agent always download the version 9.7.5 instead of 10.2.0
I put the agent log in DEBUG, i can see, he get the versions on the url https://download.katalon.com/katalon-studio/releases.json but he still download the version 9.7.5
Anyone know why or what i can do to always use the latest version of KRE ?
Thanks in advance