The first thing I noticed is that web services aren't the focus of the solution. Oh well. It's not named "WebServiceMob" then I start reading the tutorial. I'm happy it's pretty darn easy to get things set up. You can upload a saved Selenium IDE test case, script one in their editor, or get really fancy and code up JavaScript to control the types of users.
I decided to upload a short Selenium IDE test case. The Selenium IDE source was converted into a BrowserMob script after it was validated.
That's nice but how can I start a load test? After you select "Schedule" a page is presented that lets you turn all sorts of knobs and dials related to virtual user configuration, scripts, script time allocation, and more.
That's nice but how can I start a load test? After you select "Schedule" a page is presented that lets you turn all sorts of knobs and dials related to virtual user configuration, scripts, script time allocation, and more.
![]() |
| Lots of knobs and dials to configure! |
![]() |
| The test plan shows how many concurrent users were planned when the test was scheduled, and how many were actually active in the test run. |
For this particular run through I didn't create any failures but there was also a failure report which showed screenshots.
So I have a bunch of screenshots but how do I present reports to management or accumulate my load test data offsite? There's a MySQL data dump feature that gives you a SQL script that will recreate the data for you. Pretty nice. :)
This seems like a legitimately interesting tool. It didn't take ages to set up or get reports. It did bother me that if Selenium IDE can't do something or if the script won't validate I'd be stuck writing JavaScript. I'm really comfortable writing either Selenium or Selenium 2 code but I can't imagine maintaining JavaScript for multiple user scenarios on an actively developed product. What would really be awesome is something similar to the functionality that Sauce Labs has. If I could write a test harness and scenarios within a class and execute them with the same options as the scheduler that would be really powerful. The other thing I see would be monitoring on the server side to pair up the transaction times and responses with how the server was doing. There's still some collaboration between the cloud and the SUT.
Regardless, I hope to try this out in the recent future on a project and see how it goes!





0 comments:
Post a Comment