How to handle 500 Internal Server Error?

I suppose @shadbhowmik7 is not responsible for testing. @shadbhowmik7 wants Katalon to be a Robot Process Automation tool that helps enter a lot data in a web form. I think Katalon can be.

I am afraid, @shadbhowmik7 misunderstands Katalon as a sorcerer :mage:.

1 Like

this is already suggested. @kazurayam already gave you a POC code how to detect this error in your page.

you are running your tests in a for loop, so you know the current iteration in the row variable.
so update your script, in case it detects the error to try the data at row -1 … lets say 3 times and if it is still throws the error to fail the test completely.
easy peasy!

LE: you may need a safeguard variable not to create an infinite loop, but will let you the pleasure to figure it out…

I created a plugin jar that contains a Keyword com.kazurayam.ks.navi.WebUiKeywords::navigateToUrlWithRetry

See https://github.com/kazurayam/kazurayam-ks-navigateToUrlWithRetry

I want to thank everyone for your kind support! You guys are really kind. I am grateful to all of you!