Skip to content

How to display QOS metrics ? #520

@fthiery

Description

@fthiery

Hi; thanks for this awesome tool. Here's a use case: we are using locust to load test our video platform; we have implemented the viewer behaviour, down to downloading the video (as HLS). This works very nicely.

However, there are a few QOS-oriented stats that we would like to measure throughout the whole test:

  1. playback initialisation time: this is the total wait time between the initial GET on the page to the moment that the first fragment of the video has been downloaded
  2. buffering: if downloading a video fragment takes more than the fragment real duration, then we can assume that the user will get buffering (this is a very primitive approximation)

How/can i use/extend locust to display these metrics ? We thought of simulating some requests (e.g. for playback initialisation time) with the time as latency, but this would corrupt the RPS metric; for buffering, we could define the request timeout to the fragment duration, but this would look like a timeout and not reported as actual buffering.

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions