shiny app unreachable by shinyloadtest library

286 Views Asked by At

I am trying to load-test a shiny app on RStudio Connect. The shinyloadtest library claims to be able to load-test shiny apps on Rstudio Connect. I have installed this library and the shinnycannon app/library. I try to run

shinyloadtest::record_session("https://rsconnect-dev.the_rest.io/of/my/url/")

and receive the following error:

Target URL https://rsconnect-dev.the_rest.io/of/my/url/ does not appear to be a Shiny application.

The actual url is different but starts with https://rsconnect-dev. It appears that one of the internal functions ( detect.R) is saying that the url is the incorrect format. Have you found a way to bypass this?

1

There are 1 best solutions below

0
On

You probably found a solution but for future shinyloadtest users it could help.

Shiny applications hosted on shinyapps.io can't be reached with shinyloadtest package. Try with this shiny example url = "https://daattali.com/shiny/mimic-google-form/" it should works.