waitResults not working as expected
bkreda opened this issue · 2 comments
bkreda commented
Hello,
First of all, thanks for this great module that make things much easier.
Does the waitResults work as expected when testing against the public instance of webpagetest?
Used as in the example,
wpt.runTest('http://twitter.com/marcelduran', {waitResults: 'http://wpt.bk.wope-framework.com:80'}, function(err, data) {
console.log(err || data);
});
My callback is never called.
Thanks,
marcelduran commented
- Do you have an API key for the public instance?
- Have you checked your webserver logs for
/?id=<some_test_id>
? (assuming [1] is true)
bkreda commented
1- Yes I have an api key and I am able to run test without the waitResults.
2- I don't get a change to have a test id because my callback is never called.
See sample code in main.js in https://github.com/bkreda/wope-wpt-node