簡體   English   中英

Shinyloadtest 庫無法訪問 shiny 應用程序

[英]shiny app unreachable by shinyloadtest library

我正在嘗試在 RStudio Connect 上對 shiny 應用程序進行負載測試。 shinyloadtest庫聲稱能夠在 Rstudio Connect 上對 shiny 應用程序進行負載測試。 我已經安裝了這個庫和 shinnycannon 應用程序/庫。 我試着跑

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

並收到以下錯誤:

目標 URL https://rsconnect-dev.the_rest.io/of/my/url/似乎不是 Shiny 應用程序。

實際的 url 不同,但以https://rsconnect-dev 開頭 似乎其中一個內部函數( detect.R )說 url 的格式不正確。 你找到繞過這個的方法了嗎?

您可能找到了解決方案,但對於未來的 shinyloadtest 用戶可能會有所幫助。

Shiny 應用程序托管在 shinyapps.io 無法通過shinyloadtest package 訪問。 試試這個 shiny 示例url = "https://daattali.com/shiny/mimic-google-form/"它應該可以工作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM