Test Duration Producer plugin - Web Performance
Menu

Test Duration Producer plugin

This plugin is part of the Measurements extension for MuseIDE version 0.3. It is a test-suite plugin that provides measurements to illustrate how many of each test are running, how long have they been running and how long did they take to complete. It is intended to be helpful for load testing.

Each time a test within a suite completes, a measurement is produced containing the duration of the test. If the running tests parameter is true, then each time measurements are collected by the Periodic Measurement Collector, two additional measurements are produced for each test. The first, running, is a count of how many tests are running at that moment. The second, running_duration, is the total duration that those tests have been running.

Configuration

Add the plugin to your project and configure it to run when needed. Use the Running tests parameter to turn on/off the running and running_duration measurements.

 

Plotting in Chronograf

Chronograf and InfluxDB provide a powerful toolset for collecting, analyzing and charting time-series data.

When combined with the Periodic Measurement Collector plugin and the Send Measurements to Influx plugin, you can easily see the average duration of each completed test in Chronograf. This chart shows the test duration increasing significantly over time.

You can also see the running duration and the total number of tests running. These charts show that even as the number of concurrently running tests is decreasing, the average running duration of the tests is increasing.

Output for a spreadsheet

You can also perform your own analysis in a spreadsheet when combining this plugin with the Periodic Measurement Collector plugin and the Store Measurements to CSV files plugin. Together they produce a CSV file for each test. You might then use the charting features of the spreadsheet to plot the average running duration and completed durations like this:

Note that if you are running Muse tests in parallel on many machines, the CSV files would need to be merged to provide higher-level insight into the system performance.

Are you using InfluxDB orChronograf for analyzing load test measurements? We’d love to hear about it! If you have written about it, send us a link and we’ll post it here.

Add Your Comment

You must be logged in to post a comment.

Resources

Copyright © 2024 Web Performance, Inc.

A Durham web design company

×

(1) 919-845-7601 9AM-5PM EST

Just complete this form and we will get back to you as soon as possible with a quote. Please note: Technical support questions should be posted to our online support system.

About You
How Many Concurrent Users