Thomas Kriechbaumer
16361439c4
http2: add command line arguments
2015-06-08 10:10:32 +02:00
Aldo Cortesi
af22814bc3
Revamp error logging somewhat
2015-06-08 14:01:04 +12:00
Aldo Cortesi
0da3e51e1c
Make parse_pathoc a generator
...
This lets us do things like this:
get:/:ir,@1:x1000000000
It will also let us expand the language to include a "repeat forever" concept.
2015-06-07 13:18:33 +12:00
Aldo Cortesi
07d5b90ebf
Shore up test suite.
2015-06-04 20:36:50 +12:00
Aldo Cortesi
ae9f470d2b
Craft anchor is now specified as a regex
...
Unifies this with anchor points.
2015-06-04 19:09:38 +12:00
Aldo Cortesi
9fda74c65a
Clarify language API, stub out nested websocket frames
2015-06-04 17:18:06 +12:00
Aldo Cortesi
e7c255a3bb
Refactor, fix a crashing bug by changing the way we specify SANs to pathod
2015-05-31 16:54:52 +12:00
Aldo Cortesi
4ed5043c67
Add coding style check, reformat.
2015-05-30 12:03:13 +12:00
Aldo Cortesi
b0ab5297d1
Change the semantics of the craft anchor point specification
...
The anchor point is now defined as /p (rather than /p/), with the specification
for a request just to /p or /p/ being empty.
2015-04-23 17:35:22 +12:00
Aldo Cortesi
2306a7ab6d
Refactor logging, add some defaults to pathod argument help.
2015-04-23 08:43:57 +12:00
Aldo Cortesi
5dee4210eb
pathod: flag to set debugging for web interface dev
2015-04-22 15:58:25 +12:00
Aldo Cortesi
be450cf9db
Whitespace, small fixes.
2015-04-20 08:56:47 +12:00
Aldo Cortesi
3891fe5638
Refactor pathoc
...
We're getting ready for websockets. All the output specifiers are now on the
Pathoc object itself - we can't assume that all input and output happens in
response to a method call any more. This has the upside that we can unify the
request/print_request methods.
2015-04-19 18:04:27 +12:00
Aldo Cortesi
43dadbc2fe
Add SANs specification arguments to pathod
2015-04-19 10:51:03 +12:00
Aldo Cortesi
3061bdd0c2
Unit tests: cmdline.pathod
2015-04-17 18:00:46 +12:00
Aldo Cortesi
f8e95db6b0
housekeeping: ++tests, coverage annotations
2015-04-17 17:45:50 +12:00
Aldo Cortesi
09e995ab5c
Improvements to pathoc repeat requests
...
- Pathoc will now keep trying if connections failed
- Add a -w option to specify a wait time between requests
2015-03-14 11:54:47 +11:00
Aldo Cortesi
956149c126
--memo-limit - limit failed attempts to find new generated requests to N
2014-10-26 18:16:47 +13:00
Aldo Cortesi
c00ae41486
Add a memoize argument to prevent playing the same pattern twice
...
Also remove addition of Date header, which makes this non-deterministic
2014-10-25 19:50:48 +13:00
Aldo Cortesi
fc4f9a1c7a
pathoc -n 0 repeats forever
2014-10-25 17:58:59 +13:00
Aldo Cortesi
ac4e9f8cb5
Rationalize pathoc arguments, add -r flag to randomly select a request from the provided specs
2014-10-25 16:43:01 +13:00
Aldo Cortesi
384abbfdd5
Nicer port specification for pathoc
2014-10-25 16:34:19 +13:00
Aldo Cortesi
6d8431ab3e
Allow specification of multiple patterns from file and on command line
2014-10-25 16:20:23 +13:00
Aldo Cortesi
00d0ee5ad5
Parse patterns eagerly on instantiation
2014-10-25 15:30:54 +13:00
Aldo Cortesi
5aadf92767
Nicer way to specify patterns read for file - just use a path
2014-10-25 08:18:39 +13:00
Aldo Cortesi
c6c0509836
Strictly separate argument parsing from main loops
2014-10-24 17:19:55 +13:00
Aldo Cortesi
cd481fdd14
Refactor and whitespace
2014-10-24 17:12:54 +13:00