Current time: 10-19-2019, 01:19 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running scripts with RESTful APIs
05-24-2017, 02:04 AM
Post: #5
RE: Running scripts with RESTful APIs
what are the correct separation? I haven't found nothing on it..
I've tried all spaces; spaces+tabs; spaces+tabs+newline; tabs+newline. All encoded and all failed (((

here is the simple script to test:
logData 0
navigate https://google.com
logData 1
navigate https://facebook.com


and one of the tried POST:
POST http://www.webpagetest.org/runtest.php

POST data:
label=testApi&location=ec2-eu-west-1%3AChrome%3ANative&runs=3&fvonly=0&script=logData+0+navigate+https%3A%2F%2Fgoogle.com+logData+1+navigate+https%​3A%2F%2Ffacebook.com&video=1&k=...&tcpdump=1&mobile=1&tester=IP-AC1F1799&timeline=1&ignoreSSL=1

[no cookies]

Request Headers:
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 282
Host: http://www.webpagetest.org
Proxy-Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.3.1 (java 1.5)



And all I get is always - "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.
"
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Running scripts with RESTful APIs - playtech_wpt - 05-24-2017 02:04 AM

Forum Jump:


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