MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Sending script down to runtest.php
Current time: 10-26-2020, 09:16 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending script down to runtest.php
01-11-2013, 09:34 PM
Post: #1
Sending script down to runtest.php
Hi,

I've been using webpagetest for a long time, scripting Jmeter and Jenkins to get CI perf graphs and it's great. But now I need to send a webpagetest script down to runtest.php

I'm posting the name value pair 'script' but I can only get it to work for a one line script.

I want to navigate to a page, enter some log in info and press the log in button. The script works manually but in the POST, the first navigate key word wants to take the whole script as it's input. I've tried \n and \r to specify new lines but am not getting anywhere.

How would I get this to work for example:

POST
name=script value=navigate <my first url>\nsetValue name=signIn_emailAddress <my email>\nsetValue name=signIn_password <password>\nclickAndWait name=signIn_signInButton

this works ok:
POST
name=script value=navigate <my first url>

and if I add the \n on the end of that, it just shows up in the browser on the end of the url...

Thanks,
Nick
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sending script down to runtest.php - Nicholas Godfrey - 01-11-2013 09:34 PM

Forum Jump:


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