KatalonSampler Error

  • KRE: 7.6.1
  • OS Version: 64 Bit Linux
  • Browser Version:Chrome ( headless)

Steps to Reproduce:

1.Run from cmd line ( same as worked many times in the past )
katalonc -noSplash -runMode=console -projectPath=“C:\Users<path><project>.prj” -retry=0 -testSuitePath=“Test Suites/smoke” -executionProfile=“default” -browserType=“Chrome (headless)” -apiKey="" --config -proxy.auth.option=NO_PROXY -proxy.system.option=NO_PROXY -proxy.system.applyToDesiredCapabilities=true

Error:

2020-07-20 12:28:37.275 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases//smoke
2020-07-20 12:28:37.508 INFO c.k.k.c.c.k.CucumberBuiltinKeywords - Starting run keyword runFeatureFile: ‘Include/features/ZULU/smoke.feature’ and extract report to folder: ‘/var/lib/jenkins/workspace/KatalonTestRunner/Reports/20200720_122835/smoke/20200720_122835/cucumber_report/1595258917502’…
2020-07-20 12:28:37.861 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Keyword runFeatureFile was failed (Root cause: java.lang.NoClassDefFoundError: KatalonSampler
at cucumber.runtime.java.MethodScanner.scan(MethodScanner.java:40)
at cucumber.runtime.java.JavaBackend.loadGlue(JavaBackend.java:82)
at cucumber.runner.Runner.(Runner.java:36)
at cucumber.runtime.Runtime.(Runtime.java:65)
at cucumber.runtime.Runtime.(Runtime.java:46)
at cucumber.runtime.Runtime.(Runtime.java:42)
at cucumber.api.cli.Main.run(Main.java:34)
at cucumber.api.cli.Main$run.call(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$_runFeatureFile_closure1.doCall(CucumberBuiltinKeywords.groovy:76)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$_runFeatureFile_closure1.doCall(CucumberBuiltinKeywords.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:68)
at com.kms.katalon.core.keyword.internal.KeywordMain$runKeyword.call(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runFeatureFile(CucumberBuiltinKeywords.groovy:46)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$runFeatureFile$0.callStatic(Unknown Source)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runFeatureFile(CucumberBuiltinKeywords.groovy:169)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$runFeatureFile.call(Unknown Source)
at smoke.run(smoke:5)

Expected behavior:
Smoke tests to run as they have many times before

Added Info:

We have purchased a new KRE license and upgraded to 7.6.1.

@trish.goodridge

Can you share your StepDefinition (in private chat)?