Lowest Cost Cloud Load Testing Tool

Conversion of Selenium commands to HtmlUnit

During the design and creation of LoadStorm, it became apparent that a standardized communications framework would have to be used. In other words, creating a syntax of HTTP requests would be a necessity to proper work flow. Fortunately, there were a number of generally well-known commands as described by the Selenium program interface.

Just as in Selenium, the LoadStorm LoadGenerator requires several types of locators for various HtmlElements. The selected locators as implemented are identifier, id, name, xpath, link (for HTML anchors), and some default behaviors when the locator type is not specified. The only difference between Selenium and the LoadGenerator is the absence of dom locators. In fact, the variety of locators available is greater than LoadStorm requires. Every test sequence passed to the LoadGenerator will be automated from a user's actions. The typical locators used by LoadStorm will most likely be extremely explicit such as xpath or identifier if the id or name is particularly unique within the page. This indicates that user-specified scripts may not remain valid if substantial alterations are made to the target site.

Many commands mapped directly from the Selenium user interface to HtmlUnit's HtmlElement methods. Additionally, to meet our own standards of syntax under development much prior to the introduction of Selenium, some relabeling was in order.

Selenium has a system of assertions to check for correctness of the text and/or various HTML items appearing on the page. The checks as implemented by Selenium fall into two different categories: assertions and verifiers. The key difference between the two is one will stop the execution of the test sequence. This is not the desired behavior of the LoadStorm LoadGenerator. Test sequences must run to the end of their test sequence unless serious error in connecting/requesting information from the target server occurs. Therefore, all assertions were not implemented and the two important verifiers were mapped in:

-verfiyText()
-verfiyTextPresent()

Unfortunately, there is no verifyValue for text entered into a text field or preexisting in a text field. This could be worked-around in HtmlUnit using asText() or asXML() method calls. The absence of particular elements on the page, such as radio boxes or menus will be expressed as a failure of the test sequence which choose to modify them.

Selenium supports String match patterns which are used to find elements fitting a particular
String regular expression or wild-card. This utilizes the power of JavaScript regular expressions. Java also has a method of using String match patterns. However, this design was not considered a useful feature. In the end, it is not implemented at all in the current version.

Selenium tends to use the click() command almost exclusively. This was a natural conversion to the HtmlUnit's click() method available to all HtmlElements. The Double-Click() in HtmlUnit is a tool of JavaScript. It can be called from HtmlUnit as well in this fashion. However, its functionality is different. The double click currently implemented simply calls the Click() method twice on the same location. If JavaScript is implemented in the near future, then the intended implementation of this method will certainly change.

Storm on Demand - Pay Per Test

Storm on Demand Users Cost
250 $9.97
500 $19.95
1,000 $39.90
5,000 $199.50
10,000 $399.00
25,000 $997.50
50,000 $1,995.00
100,000 $3,990.00
200,000 $7,980.00

performance testing sign upIt's easy. You can be load testing in 15 minutes.

  1. Click the "Free Account" button.
  2. Enter your name & email address.
  3. Click the confirmation link in an email.
  4. Create a test scenario for your site.
  5. Run a load test.
  6. Analyze the test results.
  7. Send us a testimonial because you are amazed!

Customers love our load testing tool

“We needed an easy & cost effective way to load test our Windows Azure solution. Thanks to LoadStorm - highly recommended!” - Jonas Stawski, Microsoft MVP

"LoadStorm is a very useful tool." Alan Cheung, Manager - Technical Services, Dow Jones Publishing Company

"It has been a pleasure to work with LoadStorm." - Mike Compton, V.P. of I.T., Hearst Business Media

"Load-testing in the cloud was a great solution and LoadStorm a dream partner. " - Julie Hansen, COO, Publisher, The Business Insider

"There was no risk because I knew what the tool would provide before spending a dime. LoadStorm is a great tool." - Richard Ertman, QA/Release Manager, PETA

"I am definitely a fan of LoadStorm. I like its ease-of-use and the way in which the solution scales." - Darin Creason, Sr. Software Engineer, TransCore Corp

Want a Live Demo? Have Questions?

Please feel free to contact us:

(970) 389-1899

We are eager to help you with LoadStorm in any way that you need.