We are happy to announce that we recently added support for Firefox 7 to our monitoring and load testing products! You can now explicitly specify the Firefox version your script will run against.  Currently we support both Firefox 3.6 and Firefox 7.

For example, the following script will open the Firefox 7 browser and navigate to a url:

var selenium = browserMob.openBrowser("FF7");
browserMob.beginTransaction();
browserMob.beginStep("Home Page");
selenium.open("http://seleniumhq.org/");
browserMob.endStep();
browserMob.endTransaction();

The same is possible when using the Selenium 2.0 API (WebDriver):

A LinkedIn user recently posed the question: “What are the best practices for monitoring, collecting and analyzing traffic data for a large content site?” Ian White, lead engineer at Neustar, jumped into to tell readers why active monitoring is just as important as analytics. Website monitoring ensures your site is functioning properly anytime from anywhere.

Below we’ve outlined a few of his key points that will help you monitor your site so you can sleep well at night knowing your website is always up and running.

It’s almost that time of year again. Holiday shoppers looking to stay at arm’s length from the seasonal mall madness will undoubtedly turn to the Internet to make their gift purchases. In fact, ShopperTrak predicts national retail sales will rise 3% during November and December this year as compared to the same time period last year.

In order to keep up with this expected spike in website traffic, there are a few steps ecommerce companies should take to ready their site. In order to help, we’ve rounded up the top eight load testing and website monitoring tips to help ecommerce sites stay on their “A-game” this holiday season.

After a long night of reviewing the data logs and trying to recover what we lost on 04/21, we anticipate that we can recover about 9 hours of missing data during yesterday’s outage. Obviously, we were hoping to be more successful and looking to recover 100% of the data. But for now, we are able to ascertain and recover the data lost between these time stamps:

  • 04/21/2011 at 12:47AM PT to 2:36AM PT
  • 04/21/2011 at 8:36AM PT to 3:47PM PT

We do know that Amazon Web Services posted a message on their status page at around  8AM PT notifying us that was a severe issue:

We are happy to inform you that our monitoring services are now back online and our website is now stable.

Here’s the latest update:

  • Washington DC is now enabled for load tests and monitoring.
  • Access to web service APIs is now available.
  • Charts and reports are now accessible.

We have been experiencing a disruption in our monitoring services, due to an issue we’ve been wrestling with all morning: Amazon EC2 is having a severe service disruption. You can follow the progress here:  http://status.aws.amazon.com/.

We are working through these issues in conjunction with Amazon EC2’s updates. In the meantime, here’s the latest on our situation:

  • Our website has some stability issues.
  • We have disabled running load tests from Washington DC.
  • At this time, we know that some monitoring data has been lost but still limited on the scope of the loss. We will do our best to retain what we can but our primary focus is to ensure that we get downtime alerts out to you.

Hello Readers, Welcome Back !!

As the first part of this Selenium Tips series, this article intends to summarize the different ways to interact with dynamic sites that refresh content asynchronously wherein the script will have to wait for certain elements to appear or disappear before proceeding further. As you are already aware of, Selenium has several ‘waitFor’ commands that fulfill this purpose. waitForCondition is one among them. ‘waitForCondition’ basically takes in two arguments, a JavaScript snippet and a timeout period in milliseconds. The snippet is executed either until it returns true or until the timeout period, after which the command will return an error. Now enough of theory and let’s get into action.

After hearing your suggestions on monitoring alerts, we’ve streamlined the number of alerts you get due to intermittent or localized problems. Before, whenever a site encountered an error condition while taking a sample, that sample may have been logged as an error or strike, causing an alert to be generated.  Now, you’ll receive an email alert only after we take a sample three times and still find an error. We’ll report the 1st and 2nd failures in your charts–and they’ll show up as additional checks to your normal monitoring–but we won’t clog up your inbox with extraneous alerts. Thanks much to all who provided feedback. You’ve helped us serve you more efficiently!

Hello Readers, Welcome back!!

This article intends to explain a few ways of using regular expressions with BrowserMob and Selenium. As we all know already, regular expressions are extremely helpful in scripting dynamic web sites, especially when you run into situations such as picking the first product from a dynamic list of products, clicking on the last link of a dynamic drop-down etc.

To begin with, let’s see a couple of examples for using regular expressions with BrowserMob’s VU (Virtual User) scripts. Not sure what VU is? Check it out here or contact BroserMob Support at anytime.

When setting up monitoring jobs, there are often predictable time periods in which you want to change the behavior of a script or prevent it from running at all, without having to manually stop/start the monitoring job each time. For instance, you might want to prevent errors and alert emails during routine maintenance windows, or perhaps you’re only interested in site performance on weekdays during regular business hours. We’ve come up with solutions to a few common situations that will help jump start your scripts.

© 2012 The BrowserMob Blog Suffusion theme by Sayontan Sinha