botium-core icon indicating copy to clipboard operation
botium-core copied to clipboard

RETRY operation did not work on botium-cli

Open ram-d opened this issue 2 years ago • 3 comments

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

ram-d avatar Nov 29 '22 04:11 ram-d

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'>"
}

ujja avatar Nov 29 '22 09:11 ujja

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,

ram-d avatar Nov 29 '22 13:11 ram-d

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.

stale[bot] avatar Jun 18 '23 07:06 stale[bot]