botium-core
botium-core copied to clipboard
RETRY operation did not work on botium-cli
Hi,
One or two tests in my automation are failing with an api error and I wanted to use the retry operation but it did not work on botium-cli. I tried with 'RETRY_USERINPUT_ONERROR_REGEXP' set to the error message and retry count set to 1 in the botium capabilities. I also tried with RETRY_USERSAYS_ONERROR_REGEXP but the result was the same. Can you please help with the right example on how to use the retry operation on botium-cli?
Thanks, Ram
Hello,
I suppose error is coming on conversation, not on establishing connection? In this case this has to work:
"Capabilities": {
"CONTAINERMODE": "...",
"RETRY_USERSAYS_NUMRETRIES": 1,
"RETRY_USERSAYS_ONERROR_REGEXP": "<text to filter the error message, like 'timeout error'>"
}
Hi @ujja , I tried this and it didn't work.
"RETRY_USERSAYS_ONERROR_REGEXP": "Hmm … something did not work. Please try again in a bit.", "RETRY_USERSAYS_NUMRETRIES": 1,
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.