aboutsummaryrefslogtreecommitdiffstats
path: root/runcheck
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2015-02-12 22:40:10 +0100
committerPetter Reinholdtsen <pere@hungry.com>2015-02-12 22:40:10 +0100
commit4010c1ece08cd3297830fdf8cd7dcb8eb57ca559 (patch)
treea5a19cf938886fd1849a62178d6dc4b54eb5fbd3 /runcheck
Start on framework.
Diffstat (limited to 'runcheck')
-rwxr-xr-xruncheck7
1 files changed, 7 insertions, 0 deletions
diff --git a/runcheck b/runcheck
new file mode 100755
index 0000000..b9f54fc
--- /dev/null
+++ b/runcheck
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+cat testurls.txt | while read url ; do
+ filename=$(echo "$url" | cut -d/ -f3-| sed 's%/$%%' |tr / %)
+ echo "$url"
+ phantomjs netsniff.js "$url" > "har-data/$filename.har"
+done