jasalguero
jasalguero

Reputation: 4181

Automated performance test for web application

I'm currently developing a webapp with JBoss Seam, the webapp uses EJB to connect to the backend layer (J2EE + Oracle).

We are planning to use Selenium to create the functional tests, but I'd also like to have some automated performance tests for the client layer. Would it be possible to use Selenium for this or is it a bad idea?

I know tools like YSlow, PageSpeed or Firebug can be used for measuring the web performance, but is there anyway to automate this?

Thanks

Upvotes: 1

Views: 996

Answers (4)

mmacvicar
mmacvicar

Reputation: 811

http://gatling.io written in Scala

http://locust.io written in Python

seem like possible options not already mentioned.

Upvotes: 0

Ani
Ani

Reputation: 1

You can automate the activities performed by a user inside a web-browser using HP LoadRunner. Once you record a script, all you need to do is to hit the Run button & all the activities you want the user to do would be done by the LR script. Also if you plan to load/stress test your application, you can use the same script to do it.

Upvotes: 0

EPSG31468
EPSG31468

Reputation: 971

You could use Apache JMeter for Web Performance Tests:

http://jmeter.apache.org/

You can put together your test plans with a lot of different components.

There is also the feature to record your tests through the browser, while using JMeter as a proxy.

Upvotes: 2

Karoly Horvath
Karoly Horvath

Reputation: 96266

Using selenium for performance test is a very bad idea as it is painfully slow.

For simple tests, try apache bench (ab), for more complex tests (e.g.: one requiring user login, verification of returned pages, detailed statistics) use JMeter.

In my experience JMeter can be a bit slow, if your system really performs well you might have to use JMeter's distributed mode which uses multiple (synchronized) JMeter clients.

Upvotes: 2

Related Questions