Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56bb664
commit 8718c38
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |