Skip to content

Commit

Permalink
Add README for fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Mar 6, 2012
1 parent 56bb664 commit 8718c38
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions fixtures/README.md
@@ -0,0 +1,17 @@
How To Create Fixtures
======================

If you want to play with actual data, use the following scripts to create checks, pings, and compute the aggregated statistics for these test checks over the last month.

> node fixtures/populate.js
> node fixtures/computeStats.js

Then, before using the dashboard, turn on the dummy target.

> node fixtures/dummyTarget.js

It's a simple server that responds to the fixture pings with a quality of service determined by the URL. For instance,

http://localhost:8888/90

will return HTTP status 200 90% of the time, and HTTP status 500 the rest of the time.

0 comments on commit 8718c38

Please sign in to comment.