summaryrefslogtreecommitdiff
path: root/bin/loadTesting/loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/loadTesting/loader.js')
-rw-r--r--bin/loadTesting/loader.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/loadTesting/loader.js b/bin/loadTesting/loader.js
deleted file mode 100644
index ddcd0572..00000000
--- a/bin/loadTesting/loader.js
+++ /dev/null
@@ -1,20 +0,0 @@
-var page = new WebPage(),
- t, address;
-
-if (phantom.args.length === 0) {
- console.log('Usage: loader.js <some URL>');
- phantom.exit();
-} else {
- t = Date.now();
- address = phantom.args[0];
-
- var page = new WebPage();
- page.onResourceRequested = function (request) {
- console.log('Request ' + JSON.stringify(request, undefined, 4));
- };
- page.onResourceReceived = function (response) {
- console.log('Receive ' + JSON.stringify(response, undefined, 4));
- };
- page.open(address);
-
-}