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

webpagetest private instance not worked #97

Open
sachinbanugariya opened this issue Jul 14, 2017 · 2 comments
Open

webpagetest private instance not worked #97

sachinbanugariya opened this issue Jul 14, 2017 · 2 comments

Comments

@sachinbanugariya
Copy link

hello,
i installed webpagetest on centos 7 using npm install.
also installed webpagetest webbased private instance.

i want to test webpagetest using command line on centos 7.
with private instance webpagetest.
server is located at china.

tested below command and gives issue:
webpagetest test https://twitter.com/marcelduran --key A.cb529269f4e9b03XXXXXXXX --location ec2-ap-southeast-2 -s myhostname

gives below output:
{
"statusCode": 400,
"statusText": "Invalid Location, please try submitting your test request again."
}

i also checked and tried some locations from
webpagetest locations.
but still same output for all.

please let me know whatv is issue here and how can i get output.
thanks.

@rhenryrobert
Copy link

@sachinbanugariya Even I have also faced the same issue...
Check whether your requested location is present or not : urdomain/getLocations.php
In my private instance, I can't find this location "ec2-ap-southeast-2"

@sachinbanugariya
Copy link
Author

ok, i also want to know that:
webpagetest test https://twitter.com/marcelduran --key A.cb529269f4e9b03XXXXXXXX --location ec2-ap-southeast-2 -s myhostname

if this command work then results seems like below:
http://myhostname.com/result.php ?

or seems like:
http://webpagetest.com/result.php.

and the other thing is that is if i use below command:
webpagetest test https://facebook.com --key A.cb529954098eed --location ec2-us-east-1:Chrome

then it gives results like:
{
"statusCode": 200,
"statusText": "Ok",
"data": {
"testId": "170831_6T_1e69fcb2b3613772814647a3b20a390b",
"ownerKey": "65ba099bab3a229306fd42727846816df6c9fb08",
"jsonUrl": "https://www.webpagetest.org/jsonResult.php?test=170831_6T_1e69fcb2b3613772814647a3b20a390b",
"xmlUrl": "https://www.webpagetest.org/xmlResult/170831_6T_1e69fcb2b3613772814647a3b20a390b/",
"userUrl": "https://www.webpagetest.org/result/170831_6T_1e69fcb2b3613772814647a3b20a390b/",
"summaryCSV": "https://www.webpagetest.org/result/170831_6T_1e69fcb2b3613772814647a3b20a390b/page_data.csv",
"detailCSV": "https://www.webpagetest.org/result/170831_6T_1e69fcb2b3613772814647a3b20a390b/requests.csv"
}
}

so the thing is command is not work if i use --server https://hostname

that is webpagetest test https://facebook.com --key A.cb1b1954098eed --location ec2-us-east-1:Chrome --server https://hostname

please suggest how can i go ahead.
thanks

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