2012-04-28 00:42:03 +00:00
|
|
|
|
|
|
|
Response:
|
|
|
|
|
2012-04-28 05:28:40 +00:00
|
|
|
code[msg]:[colon-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:28:40 +00:00
|
|
|
hVALUE=VALUE Set header
|
2012-04-28 05:12:39 +00:00
|
|
|
bVALUE Set body
|
|
|
|
db Disconnect before sending data
|
|
|
|
dr Disconnect randomly
|
2012-04-28 05:28:40 +00:00
|
|
|
pbNUM|forever Pause before sending data for NUM seconds or forever
|
|
|
|
paNUM|forever Pause after sending all data for NUM seconds or forever
|
|
|
|
prNUM|forever Pause randomly for NUM seconds or forever
|
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
|
|
|
Value Specifiers:
|
2012-04-28 00:42:03 +00:00
|
|
|
|
2012-04-28 05:12:39 +00:00
|
|
|
!500k - 500k of random data
|
2012-04-28 05:28:40 +00:00
|
|
|
!500k-utf8 - 500k of utf8. Other specifiers: utf8,alphanum,alpha,printable
|
2012-04-28 05:12:39 +00:00
|
|
|
"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:28:40 +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
|
|
|
|
|
|
|
|
|
|
|
Anchors:
|
|
|
|
|
2012-04-29 00:15:25 +00:00
|
|
|
Passed on command-line:
|
|
|
|
-a "/foo/bar=200:!/foo"
|
2012-04-28 00:42:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
Built-in help
|
|
|
|
|
|
|
|
/help
|
|
|
|
/explain/expression
|