spotify/hornet

Name: hornet

Owner: Spotify

Description: null

Created: 2016-09-29 18:20:17.0

Updated: 2018-05-11 19:44:49.0

Pushed: 2016-11-15 21:52:11.0

Homepage: null

Size: 662

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

HORNET

Hornet is a Java load test framework written in Scala. It wraps a JUnit test and runs it as a load test. This means that you can write load tests in using a familiar framework, i.e. JUnit. It also means that you can run load tests as part of CI to ensure that they do not become stale.

Hornet is Coordinated Omission safe. The coordinated omission problem is one which many load test and benchmark tools suffer from. This is when a pause or slowdown in service response causes the test tool to back off, effectively sending fewer request and making the average response time seem higher then it would normally be in production. Hornet avoids this in two ways: First, it produces a response time percentile graph which is useful to detect when coordinated omission happens. Second, it produces a fixed request per second rate regardless of whether the service responds in time or not.

Hornet currently produces three types of reports: text, HTML, and CSV. The reports contain the following sections:

HOW TO USE IN MY PROJECT

See our wiki page on the subject: How to Use in My Project.

EXAMPLES
Text Report
HttpLoadTest#testUsername:
                 ?   ?   ?   ?   ?   ?
   Throughput:  15  65  74  96 101  96
                 ?   ?   ?   ?   ?   ?
Response Time:  14  99 213 258 343 464
                 ?   ?   ?   ?   ?   ?
 Failure Rate:   0   0   0   0   0   0
 Thread Count:   1  10  20  30  40  50
HTML Report

Interactive Report

HOW TO BUILD

Check out the code from github.

Compile
sbt compile
Test
sbt test
Create Fat Jar
sbt assembly
Create Zip
sbt release

LIMITATIONS

Currently, Hornet only supports a single load driver. Multi worker support is coming soon.

CODE OF CONDUCT

This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.

LICENSE

Copyright 2016 Spotify AB.

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.