Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waitResults not working as expected #34

Open
bkreda opened this issue Dec 4, 2014 · 2 comments
Open

waitResults not working as expected #34

bkreda opened this issue Dec 4, 2014 · 2 comments

Comments

@bkreda
Copy link

bkreda commented Dec 4, 2014

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
Copy link
Contributor

  1. Do you have an API key for the public instance?
  2. Have you checked your webserver logs for /?id=<some_test_id> ? (assuming [1] is true)

@bkreda
Copy link
Author

bkreda commented Dec 5, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants