Current time: 09-28-2020, 07:31 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripted tests fail using Amazon EC2 test agents
03-25-2011, 02:49 AM
Post: #1
Scripted tests fail using Amazon EC2 test agents
I'm using test agents based on image ami-1f50646b of region EU WEST. While simple tests are running just fine, scripted tests return the message "The test completed but there were no successful results.". The web server install is release 2.1. Sample script:

Code:
logData 0
navigate        http://www.cnn.com/
logData 1
navigate        http://www.cnn.com/2011/WORLD/africa/01/28/south.africa.mandela.hospitalized/index.html?hpt=T2

Commands and parameters were tab-delimited when I ran the scripted test. The same script runs successfully using IE 8 on Frankfurt based test agent of http://www.webpagetest.org.
Find all posts by this user
Quote this message in a reply
03-25-2011, 02:54 AM
Post: #2
RE: Scripted tests fail using Amazon EC2 test agents
The AMI has a fairly old version of the agent code and that may be what is causing it. The agents can automatically update their code from the web server so when you spawn a new instance it will be running the latest version.

You can get the latest version of the agent code from here: http://www.webpagetest.org/work/update.zip

1 - Put the zip file in the work/update directory on your web server
2 - Extract update.ini from the zip file and put it in the same directory next to the zip file

The next time an agent tries to retrieve a test it will download and install the update before continuing.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-25-2011, 07:14 PM
Post: #3
RE: Scripted tests fail using Amazon EC2 test agents
Hi Patrick,

thank you very much for your help, scripted tests run successfully now!

For those that want to follow your advice the correct download URL seems to be http://www.webpagetest.org/work/update/update.zip . The adress you mentioned raises a 404 error.

Regards, Jesko
Find all posts by this user
Quote this message in a reply
03-25-2011, 08:37 PM
Post: #4
RE: Scripted tests fail using Amazon EC2 test agents
doh, sorry about that - that's what I get for just typing it in and not checking. Glad to hear it's all working now - I'll add a note to the AMI wiki page.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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