aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/testpatt
diff options
context:
space:
mode:
authorJim Shaver <dcypherd@gmail.com>2015-03-19 15:58:53 -0400
committerJim Shaver <dcypherd@gmail.com>2015-03-19 15:58:53 -0400
commit998c9c49c44969b0e5421c649cfb714e5f578dda (patch)
tree41821482f4bf1db2ebdb1d8aad2be9de40f2ccfd /test/tools/testpatt
parent36bec7b77e1a8c02211c706b3e651fee13a3b3e2 (diff)
parent97c6d7ed25e026ae8d5511550df9718f829a7f1e (diff)
downloadmitmproxy-998c9c49c44969b0e5421c649cfb714e5f578dda.tar.gz
mitmproxy-998c9c49c44969b0e5421c649cfb714e5f578dda.tar.bz2
mitmproxy-998c9c49c44969b0e5421c649cfb714e5f578dda.zip
Merge branch 'master' of github.com:mitmproxy/mitmproxy into ssldocs
Diffstat (limited to 'test/tools/testpatt')
-rwxr-xr-xtest/tools/testpatt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/tools/testpatt b/test/tools/testpatt
new file mode 100755
index 00000000..f6d1169b
--- /dev/null
+++ b/test/tools/testpatt
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Generate a test pattern with pathoc
+PATHOD=http://localhost:9999
+pathoc localhost:8080 "get:'$PATHOD/p/200:p0,1:b@200b'"
+pathoc localhost:8080 "get:'$PATHOD/p/300:p0,1:b@200b'"
+pathoc localhost:8080 "get:'$PATHOD/p/400:p0,1:b@200b'"
+pathoc localhost:8080 "get:'$PATHOD/p/500:p0,1:b@200b'"
+pathoc localhost:8080 "get:'$PATHOD/p/600:p0,1:b@200b'"