Skip to main content

Store bench result from JMeter of FunkLoad for reporting.

Project description

NAME

benchbase - Store and manage JMeter or FunkLoad benchmark results.

Produces detailed reports.

Visit https://github.com/bdelbosc/benchbase/wiki to see report examples.

USAGE

benchbase [–version] [–logfile=LOGFILE] [–database=DATABASE] COMMAND [OPTIONS] [ARGUMENT]

COMMANDS

list

List the imported benchmark in the database.

info BID

Give more information about the benchmark with the bid number (benchmark identifier).

import [–jmeter|–funkload|–comment=COMMENT] FILE

Import the benchmark result into the database. Output the BID number. The input file can be gzipped.

addsar –host HOST [–comment=COMMENT] BID SAR

Import the text sysstat sar output, the input file can be gzipped.

report –output REPORT_DIR BID

Generate the report for the imported benchmark

EXAMPLES

benchbase list

List of imported benchmarks.

benchbase import -m”Run 42” jmeter-2010.xml

Import a JMeter benchmark result file, this will output a BID number.

benchbase addsar -H”localhost” -m”bencher host” 1 /tmp/sysstat-sar.log.gz

Attach a gzipped sysstat sar file for the bench BID 1.

benchbase report 1 -o /tmp/report-run42

Build the report of benchmark BID 1 into /tmp/report-run42 directory.

REQUIRES

Benchbase requires gnuplot and sqlite3, on Debian/Ubuntu:

sudo aptitude install sqlite3 gnuplot

INSTALLATION

sudo easy_install benchbase

INPUTS

JMeter

Supported JMeter file format is JTL 2.1 sample attributes.

This has been tested using an ant script with the following configuration:

<jmeter ...>
 ...
 <property name="file_format.testlog" value="2.1"/>
 <property name="jmeter.save.saveservice.output_format" value="xml"/>
 <property name="jmeter.save.saveservice.bytes" value="true"/>
 <property name="jmeter.save.saveservice.thread_counts" value="true"/>
 ...
</jmeter>

The CSV output is also supported in 10 or 12 columns

10: ['ts', 't', 'lb', 'tn', 'de', 's', 'by', 'ng', 'na', 'lt'],
12: ['ts', 't', 'lb', 'rc', 'rm', 'tn', 'de', 's', 'by', 'ng', 'na', 'lt']}

FunkLoad

Should work with any FunkLoad xml result file.

Sysstat sar file

Supported sysstat sar format is the text output. For instance you can capture stuff like this:

sar -d -o /tmp/sar.data 1 100 > /dev/null 2>&1 &

This gets stats every second during 100s and store the result in a file.

To get the text output you need to run this:

LC_ALL=C sar -f /tmp/sar.data -A > /tmp/sar.log

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

benchbase-1.1.0.tar.gz (772.5 kB view details)

Uploaded Source

Built Distributions

benchbase-1.1.0-py2.7.egg (45.0 kB view details)

Uploaded Source

benchbase-1.1.0-py2.6.egg (45.2 kB view details)

Uploaded Source

File details

Details for the file benchbase-1.1.0.tar.gz.

File metadata

  • Download URL: benchbase-1.1.0.tar.gz
  • Upload date:
  • Size: 772.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for benchbase-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a9943c4fa9fcb0d10af3730d1e65f216b74cbdf2cb0820d7a4d0a1d2ca6c7ff4
MD5 bbd6258835c6bc076d80c29e3032d580
BLAKE2b-256 4f4ea2b1906a93fa0a34126f061c74001d5793bc165c30a04723738964237843

See more details on using hashes here.

File details

Details for the file benchbase-1.1.0-py2.7.egg.

File metadata

File hashes

Hashes for benchbase-1.1.0-py2.7.egg
Algorithm Hash digest
SHA256 85fc730c0ea55c9e5573d1ffca03c70079c387f53c3b44dd5e1588842746b722
MD5 5135c5a6e383f9505979aea13c84c05e
BLAKE2b-256 94ed30e38c91aedb4fec36a96959a64531910f8f3c691d6d984987889b0d73c2

See more details on using hashes here.

File details

Details for the file benchbase-1.1.0-py2.6.egg.

File metadata

File hashes

Hashes for benchbase-1.1.0-py2.6.egg
Algorithm Hash digest
SHA256 d017c1dcc63fbe31bb160a8dc45d70ba86e53470792b5af310966ec53dae3fdf
MD5 839cbb63d45259653813ee538968b6ab
BLAKE2b-256 c97ae2e60972e4f615ef50d5983114f12ddaed922cf9a8c71ae9ebf4cda6515c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page