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?

Glorfindel
3,1676 gold badges28 silver badges34 bronze badges
asked Feb 12, 2016 at 15:11
2
  • 1
    You should use a more traditional tool set built specifically for load testing. Commented Feb 12, 2016 at 18:44
  • Creating a tool set for load tests around your UI testing framework will probably end up with a "second framework" either. Commented Feb 13, 2016 at 9:58

1 Answer 1

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.

answered Feb 12, 2016 at 18:42

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.