Velocity Conference 2011 Workshop on Automated Web Performance Testing

Their sub-title for this session is “It’s not exactly socket science.” Love it!!!

Today’s session is about automated web performance testing before 5pm. It’s the last session of the day and I’m hoping to get out of here before 5:30pm. These guys are from Neustar. The examples can be found for this workshop here.

What is Automated Web Performance Testing?

Looking for http issues, but also looking for responsiveness. Why automate?

Going to be using a primary set of tools (Selenium, Watir, QTP and Silk Performer). Selenium is the focus. Plan on using Browser Mob Proxy and a HAR viewer.

Note to self: I think it’s important for everyone on the team to learn Selenium programming. There’s really no reason that each person on the team shouldn’t be sufficient at writing their own Selenium code. This is something holding back the SPEs in my opinion. They are dependent on their SPE pairs to write their Selenium scripts on their behalf. I also think it’s important for the SPTs to learn Selenium as well so that they can take advantage of browser performance testing on their own as well.

HAR Format (HTTP Archive)

HTTP archive with simple format (JSON/JSONP), tons of data, easily extensible and now becoming the standard.

Tools for storing HAR format in demo is called Harpoon.

  • Guice (Google)
  • Sitebricks
  • MongoDB
  • Jetty

Can access at http://labs.webmetrics.com:8080

Note to Self: This is actually a pretty cool idea for us to consider integrating with Galileo. The standard is the HAR format, which we could easily persist and prepare views within Galileo for visualization purposes. Also note that dynaTrace offers a HAR viewer.

 

Methods for Gathering Metrics

Need to do some research on Web Timings specification. This happened in the last year. Surprised I didn’t see this. Here’s an interesting blog about it from Microsoft’s perspective. There is apparently a Web Performance Workshop Group which kind of surprised me. There are apparently 2 other specs to look at” Resource Timing and User Timing.

Browser Mob Proxy

It’s an open source tool and saves HTTP archive. Also has a native Java API. Can use REST API for other languages. I’m curious if this would solve our grid problem in the lab. Could we set up a browser mob proxy farm in our lab?

Hmmm…it looks like all it’s really doing is capturing the HAR.

Note: Selenium saves screenshots. Totally didn’t know that. Great for debugging purposes.

Interesting Links to Review

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s