Current time: 10-27-2020, 08:09 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test Data missing error -public wpt instance for scripted tests
07-10-2018, 12:43 PM
Post: #3
RE: Test Data missing error -public wpt instance for scripted tests
(07-07-2018 08:45 AM)abhagupta Wrote:  If you are running using the Node API, you have to create the script as an object, something like
[
{command1: 'value1'},
{command2: 123},
{command3: ['value1', 'value2', ... , 'valueN']},
...
'commandN'}
]

then create pass that string into `WebPageTest.scriptToString(script);` and then pass it to the `runTest` method.
This question actually does not belong to this forum. Should be opened in the node api repo.

Hi AbhaGupta,
Thanks a lot for the reply!! I tried as per your suggestion getting Invalid script error.
Please find the attached screenshot of the script that I am trying to execute but getting the below. Please let me know what is wrong with the script.
{
"statusCode": 400,
"statusText": "Invalid Script (make sure there is at least one navigate command and that the commands are tab-delimited). Please contact us if you need help with your test script."
}


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Test Data missing error -public wpt instance for scripted tests - sreeash_wpt - 07-10-2018 12:43 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)