Skip to content

Sensis/jmeter

 
 

Repository files navigation

The problem

A large part of performance testing, up to this point, has been on the server side of things. However, with the advancement of technology, HTML5, JS and CSS improvements, more and more logic, behaviour, etc have been pushed down to the client. Things that add to the overall browser execution time may include:

  1. Client-side Javascript execution - eg. AJAX, JS templates
  2. CSS transforms - eg. 2D, 3D, matrix transforms.
  3. 3rd party plugins - eg. Facebook like, Double click ads, site analytics, etc

All these things add to the overall browser execution time, and this project aims to measure the time it takes to complete rendering all this content.

Note: This project is not intended to replace the HTTP Samplers included in JMeter, rather it is meant to compliment them by measuring the end user load time. The use case would still be to create the HTTP Samplers with 50, 100, etc virtual users to load test the server. But at the same time we would also execute a separate JMeter test suite comprising of 1 or 2 Web Samplers which will control browser instances measuring the client side exeuction time.

Proposed solution - JMeter with WebDriver

As mentioned we will use JMeter to simulate the load creation and WebDriver to create and control the browser interaction(s) with the server. To script the actions for the browser, we currently use Javascript (provided by Rhino).

See the Getting Started section to try out the spike.

About

Attempting to add Webdriver to JMeter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.6%
  • Other 1.4%