It is observed that Katalon fails to generate custom keywords class files some times.
As a result of this the test case execution fails with java.lang.ClassNotFoundException:
Its a Katalon command line execution. The project folder do not initially contains the /bin folder. The project is freshly cloned from source repo.
Executing from the command line should generate the /bin folder, and it does , but some times it do not create the .class files for some custom keywords. as a result of this we get class not found exception later when any test case invoke any method from such a class.
Here is a related post to this issue
Looks like its an issue with Katalon ?
Or do we have any workaround to solve this ?
Hello @Andreas_Voit can you please let me know how did you resolve this issue earlier ? Jenkins option “Throttle builds” to 15 seconds. — does this meant some kind of delay before katalon builds the project ?
The test is executed by a test suite collection , so I do not get useful logs in the console here to figure out issue.
And it is not always issue, but some times.
The exception trace I see is
Caused by: java.lang.ClassNotFoundException: wsPackage.responseValidationKeywords
at Verify DV Error fails.run(Verify DV Error fails:32)
… 20 more
Thank you @Andreas_Voit . really appreciate your reply
Does that means, once you clone the project and when you got the project folder, you wait for some time (few seconds) before running katalon command line for the project, for it to get build ?