The shinycannon tool creates a directory of log files for
each load test. This function translates one or more test result
directories into a tidy data frame.
Usage
load_runs(..., verbose = vroom::vroom_progress())Value
A tidy data frame with the test result data. Each row is an event. Columns include identifiers and timing information for the event. The variables are as follows
- run
Name of the run
- session_id
simulated session identifier, 0-based
- user_id
simulated user identifier, 0-based
- iteration
user session identifier, 0-based
- input_line_number
recording line number associated with event
- event
type of the event
- start
time the event started, in seconds, relative to the time at which all simulated users were running.
- end
time the event ended, in seconds, relative to the time at which all simulated users were running
- time
event duration, in seconds
- concurrency
number of events that happened at the same time as this one
- maintenance
whether this event occurred before or after all simulated users were running
- label
event-specific text label
- json
raw message JSON and parsed JSON of the event
Output variables
run: The name of the recording session.session_id: An incrementing integer value for every session within arun. Starts at 0.user_id: Which simulated user is performing the work within arun. Starts at 0.iteration: an incrementing integer value of the session iteration for the #' matchinguser_id. Starts at 0.input_line_number: The line number corresponding to the event in therecording.logfile.event: the web event being performed. One of the following values:REQ_HOME: initial request for to load the homepageREQ_GET: Request a supporting file (JavaScript / CSS)REQ_TOK: Request a Shiny tokenREQ_SINF: Request SockJS informationREQ_POST: Perform a POST query, such as uploading part of a fileWS_RECV_BEGIN_UPLOAD: A file upload is being requestedWS_OPEN: Open a new SockJS connectionWS_RECV_INIT: Initialize a new SockJSWS_SEND: Send information from the Shiny server to the browserWS_RECV: Send information from the browser to the Shiny serverWS_CLOSE: Close the SockJS connection
start: Start time of the event relative to the beginning of therun's maintenance periodend: End time of the event relative to the beginning of therun's maintenance periodtime: Total elapsed time of the eventconcurrency: A number of events that are being processed concurrentlymaintenance: A boolean determining whether or not all simulated users are executing a sessionlabel: A human readable event namejson: The parsed JSON provided in therecording.logfile. If the fieldmessageexists, amessage_parsedfield is added containing a parsed form of the SockJS's JSON message content.