Unable to generate final report to katalon TestOps

Hello, lately we’ve been having trouble with uploading the results of some of the bigger test suits into Katalon TestOps. If I run a test suit of let’s say 50 test cases, the final report is generated fine. But if I run a bigger test suit of 160 test cases, this error happens:

2021-02-05 03:54:51.871 INFO c.k.katalon.core.main.TestSuiteExecutor - END Test Suites/Test Suites/SmokeTests/Admin

[4809](URL/976445#L4809)2021-02-05 03:54:51.871 INFO c.k.katalon.core.main.TestSuiteExecutor - ====================

[4810](URL/976445#L4810)Launcher status after execution process completed: Running

[4811](URL/976445#L4811)Fri Feb 05 03:54:54 UTC 2021

[4812](URL/976445#L4812)javax.xml.stream.XMLStreamException: ParseError at [row,col]:[113811,1]

[4813](URL/976445#L4813)Message: An invalid XML character (Unicode: 0x0) was found in the element content of the document.

[4814](URL/976445#L4814) at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:604)

[4815](URL/976445#L4815) at com.kms.katalon.core.logging.TestSuiteXMLLogParser.processFile(TestSuiteXMLLogParser.java:85)

[4816](URL/976445#L4816) at com.kms.katalon.core.logging.TestSuiteXMLLogParser.readTestSuiteLogFromXMLFiles(TestSuiteXMLLogParser.java:62)

[4817](URL/976445#L4817) at com.kms.katalon.core.reporting.ReportUtil.generate(ReportUtil.java:445)

[4818](URL/976445#L4818) at com.kms.katalon.core.reporting.ReportUtil.generate(ReportUtil.java:455)

[4819](URL/976445#L4819) at com.kms.katalon.execution.launcher.ReportableLauncher.prepareReport(ReportableLauncher.java:353)

[4820](URL/976445#L4820) at com.kms.katalon.execution.launcher.ReportableLauncher.preExecutionComplete(ReportableLauncher.java:144)

[4821](URL/976445#L4821) at com.kms.katalon.execution.launcher.ProcessLauncher.onWatchdogComplete(ProcessLauncher.java:194)

[4822](URL/976445#L4822) at com.kms.katalon.execution.launcher.LaunchWatchdog.notifyProcessTerminated(LaunchWatchdog.java:136)

[4823](URL/976445#L4823) at com.kms.katalon.execution.launcher.LaunchWatchdog.run(LaunchWatchdog.java:66)

[4824](URL/976445#L4824) at java.lang.Thread.run(Thread.java:748)

[4825](URL/976445#L4825)Uploading report to Katalon TestOps...

[4826](URL/976445#L4826)System is unable to send report to Katalon TestOps. Reason: java.lang.NullPointerException

[4827](URL/-/jobs/976445#L4827) at com.kms.katalon.integration.analytics.report.AnalyticsReportIntegration.uploadTestSuiteResult(AnalyticsReportIntegration.java:83)

[4828](URL/976445#L4828) at com.kms.katalon.execution.launcher.ReportableLauncher.uploadReportToIntegratingProduct(ReportableLauncher.java:446)

[4829]URL/-/jobs/976445#L4829) at com.kms.katalon.execution.launcher.ReportableLauncher.preExecutionComplete(ReportableLauncher.java:146)

[4830](URL/976445#L4830) at com.kms.katalon.execution.launcher.ProcessLauncher.onWatchdogComplete(ProcessLauncher.java:194)

[4831](URL/976445#L4831) at com.kms.katalon.execution.launcher.LaunchWatchdog.notifyProcessTerminated(LaunchWatchdog.java:136)

[4832](URL/976445#L4832) at com.kms.katalon.execution.launcher.LaunchWatchdog.run(LaunchWatchdog.java:66)

[4833](URL/976445#L4833) at java.lang.Thread.run(Thread.java:748)

Any clue on where might be the problem?

Hello,

I have the same issue. I didn’t find any solution for this problem.
Did you, excluding the situation were you split the large suite in small suites?

Thanks

Unfortunately no, I asked the katalon support for a solution and their response was:

I think the issue is from the report files under the Report folder (KSE side) instead of TestOps.

If the file contains very large system-output and logs, it shows the parse error. That’s the reason why we need to make it smaller.

Currently I’m running the tests in parallel remotely as a Test Collection even though it’s undesirable solution for us, but what can you do.

1 Like

Hi @hynek.svoboda, @vlad.croitoru

This issue has been fixed in v8.0.5. Please Check for Update.