2012-04-28 00:42:03 +00:00
|
|
|
|
|
|
|
Response:
|
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
code[msg],[comma-separated features]
|
2012-04-28 00:42:03 +00:00
|
|
|
|
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
Features:
|
2012-04-28 00:42:03 +00:00
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
hVALUE:VALUE Set header
|
|
|
|
bVALUE Set body
|
|
|
|
db Disconnect before sending data
|
|
|
|
dr Disconnect randomly
|
|
|
|
pbTIME Pause before sending data for NUM seconds or forever
|
|
|
|
paTIME Pause after sending all data for NUM seconds or forever
|
|
|
|
prTIME Pause randomly for NUM seconds or forever
|
2012-04-28 00:42:03 +00:00
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
cVALUE Set Content-Type header
|
|
|
|
lVALUE Set Location header
|
2012-04-28 00:42:03 +00:00
|
|
|
|
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
Time Specifiers:
|
2012-04-28 00:42:03 +00:00
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
5 - 5 seconds
|
|
|
|
5s - 5 seconds
|
|
|
|
5m - 5 minutes
|
|
|
|
5h - 5 hours
|
2012-04-28 00:42:03 +00:00
|
|
|
|
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
Value Specifiers:
|
2012-04-28 00:42:03 +00:00
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
!500k - 500k of random data
|
|
|
|
!500k:utf8 - 500k of utf8. Other specifiers: utf8,alphanum,alpha,printable
|
|
|
|
"foo" - literal
|
|
|
|
<path - load from path under data directory
|
|
|
|
<"path" - load from path under data directory
|
2012-04-28 00:42:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
Examples:
|
2012-04-28 05:12:39 +00:00
|
|
|
200,b500k
|
|
|
|
404,pb5,b1k:printable
|
|
|
|
200,t"text/json",pr5,b1k
|
|
|
|
200,b1k,xr
|
2012-04-28 00:42:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
Sequences:
|
|
|
|
|
|
|
|
200 * 2 | !forever
|
|
|
|
200 | 404 | 200,b:500g
|
|
|
|
|
|
|
|
|
|
|
|
Anchors:
|
|
|
|
|
|
|
|
Passed on command-line?
|
|
|
|
--anchor /foo/bar 200:!/foo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Built-in help
|
|
|
|
|
|
|
|
/help
|
|
|
|
|
|
|
|
/explain/expression
|
|
|
|
|