WPTAPI giving error in private instance
|
04-21-2020, 04:30 PM
Post: #1
|
|||
|
|||
WPTAPI giving error in private instance
Hi,
I have a private instance setup and have valid API key. when i try in browser it is working well. but when i try as module i am getting name: 'WPTAPIError', code: 302, message: 'Found' Browser URL - Working : Getting Valid 200 response https://demoprivateinstance.com/runtest....mpleAPIKEY Module code not working : 'WPTAPIError', code: 302, message: 'Found' var WebPageTest = require('WebPageTest'); var wpt = new WebPageTest('https://demoprivateinstance.com/', 'sampleAPIKEY'); wpt.runTest('https://www.demoURL.com/', { connectivity: 'Cable', location: 'demoLocation', firstViewOnly: true, runs: 1, video: true }, function processTestRequest(err, result) { console.log(err || result) }); Please advise |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)