Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jlopez
RPACIB
Commits
e2b291be
Commit
e2b291be
authored
Apr 01, 2020
by
jlopez
Browse files
Add start_log
parent
4f77eb56
Changes
1
Hide whitespace changes
Inline
Side-by-side
log/start_log.R
0 → 100644
View file @
e2b291be
library
(
shinytest
)
library
(
shinyloadtest
)
# Pour faire un record sur un site web shiny
shinyloadtest
::
record_session
(
'https://shiny.mbb.univ-montp2.fr/RPACIB/'
,
output_file
=
"./log/record.log"
)
# Pour lan un run avec le recorde que l'on vient de faire
# shinycannon record.log https://shiny.mbb.univ-montp2.fr/RPACIB/--workers 10 --loaded-duration-minutes 2 --output-dir run1
# Pour récupérer les résultats de notre recorde
df
<-
shinyloadtest
::
load_runs
(
"10 workers"
=
"./log/run1"
)
# Pour compiler les résultats dans un html
shinyloadtest_report
(
df
,
"run1.html"
,
self_contained
=
F
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment