Hello,
We are facing an issue when executing Web Tests. After 8 of our web tests in a Feature we are getting an index out of bounds error by Katalon. The tests pass correctly, but at the top level gives the error and stops the execution.
=============== ROOT CAUSE =====================
Caused by: java.lang.ArrayIndexOutOfBoundsException: 71
================================================
10-09-2020 10:20:47 AM runFeatureFile("Include/features/Authentication - Authorization/Change Password.feature")
Verification FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Keyword runFeatureFile was failed (Root cause: java.lang.ArrayIndexOutOfBoundsException: 71
at cucumber.runtime.formatter.TestSourcesModel.getKeywordFromSource(TestSourcesModel.java:124)
...
cucumber.runtime.formatter.JUnitFormatter.handleTestCaseFinished(JUnitFormatter.java:134)
at cucumber.runtime.formatter.JUnitFormatter.access$300(JUnitFormatter.java:42)
...
Full Log here: oob_full_log.txt (6.7 KB)
Here you can see the tests passing but failing on the top level because of the out of bounds.
If we remove the feature step where this error appears, it will appear on the next one, so it is not an issue of the step implementation. It is always the 8th webtest for us.
We have reproduced this in different machines and with different Katalon versions.
ie: 7.5.5, 7.6.5, 7.6.6, 7.7.2
All give the same error.
We are using/executing gherkin feature files.
Any idea what could be causing this and/or how to fix it?
Best Regards,
Ixent.