0

We have UI automation test framework based on selenium web driver. We are in the early stages of building out load tests and are wondering if it is possible or recommended to use a browser based UI Automation framework for load testing vs the more traditional approach of simulating client requests at the HTTP layer.

We are hoping to avoid having two different "frameworks" for UI testing and Load testing if possible.

I have found little information on the web regarding using automation UI tests for load testing. What I have found states that although it is possible using some tool sets, it's impractical to reliably scale out.

Should we attempt to build out a load test suite using UI automation tests or should we use a more traditional tool set built specifically for load testing?

  • 1
    You should use a more traditional tool set built specifically for load testing. – Robert Harvey Feb 12 '16 at 18:44
  • Creating a tool set for load tests around your UI testing framework will probably end up with a "second framework" either. – Doc Brown Feb 13 '16 at 9:58
2

In my own experience, UI testing is relatively slow and not easy to scale, which will make load testing not really reliable or representative.

When creating good webrequests for a load test, it will be easier to generate a heavy load and scale that up or down as you desire.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.