actions-on-google / actions-on-google-testing-nodejs

Apache License 2.0
75 stars 18 forks source link

Receiving error "Sorry, my test app isn't responding right now. Please try again soon." #42

Closed codeforequity-at closed 4 years ago

codeforequity-at commented 4 years ago

I keep receiving the error text "Sorry, my test app isn't responding right now. Please try again soon.".

In my test suite there are 10 test cases, and everytime I run it, this message is coming for about half of them - but always for different ones. First time a test case is working, next time it fails with this error message.

What does this error message actually mean, and what I can I do to make my tests less flaky ?

Fleker commented 4 years ago

If you get that, it seems like there's an invocation error in your Action. It may be useful to verify that invocation works manually.

codeforequity-at commented 4 years ago

It is a very simple demo setup - one of the dialogflow samples, connected to a Google Action - no webhooks, no lambda functions. I wasn't able to find a pattern when this failure happens, it appears completely reandom to me - one time it works, next time it doesn't. It's the same when using the Google Action simulator, some time it works, next time it doesn't.

Fleker commented 4 years ago

So then it doesn't seem to be an issue with this tool specifically, though it does seem like something larger is at play. You may want to go deeper into your debugging to identify the cause.

codeforequity-at commented 4 years ago

Do you have any idea or resources where and how to continue investigation ?

Fleker commented 4 years ago

You should try to minimize the test case and try to double-check everything to prevent flaky behavior.