Current time: 12-11-2017, 12:23 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Integration with Selenium WebDriver
07-14-2013, 11:13 AM
Post: #1
Integration with Selenium WebDriver
Hi,

I am interested in writing some performance tests that use both Web Page Test and WebDriver.

Are there any tutorials that detail how this works? I found some information related to this by Michael Klepikov online at https://gist.github.com/klepikov/5457750 but there are no specifics on how to implement. I need some more details step-by-step instructions if they exist.

Basically I would like to measure the time it takes to download all the objects on a webpage and capture all the data in some type of data format. I wish to use Selenium WebDriver with Webpagetest API and write my tests using Java.

Let me know if you need any more specifics or have questions.
Thanks!
Seth
Find all posts by this user
Quote this message in a reply
07-16-2013, 11:39 PM
Post: #2
RE: Integration with Selenium WebDriver
I don't think it's documented anywhere. Right now it is kind of cobbled together until I can provide a better interface for "pushing" a test result.

At a high-level it is faking a test agent by:
- Submitting a new test request to get a test ID allocated (call to /runtest.php)
- Run the webdriver test, extracting the dev tools data through the webdriver logging interface
- Uploading the test result to the allocated test ID (call to /work/workdone.php)

Hopefully that helps explain the flow that his code is going through. The plan is to eliminate the need for submitting a fake test request and to be able to push the test result directly.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-06-2016, 02:50 AM
Post: #3
RE: Integration with Selenium WebDriver
It's 2016 now and I'm wondering whether Selenium and WebPagetest can be easily integrated and whether this process is described anywhere.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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