4

We are looking to measure the length of time it takes for certain key pathways to become 'usable' e.g. certain styling elements will have loaded in and some information ajaxed in on a page. Ideally this could be automated as we currently monitor load times in browser in a manual fashion.

The amount of load is not of primary importance in these tests.

I have written JMeter tests for load, but JMeter does not natively measure the time it takes for ajax requests etc. I have also looked at Gatling briefly, but am unfamiliar with scala.

I am aware of the JMeter WebDriver plugin, but have also heard that selenium is not good for these kind of tests, as it can add load to the server itself, skewing results.

Thanks.

2

If the amount of load is not important and you only want to know which elements in your webpage are consuming more time (from a single client perspective) you could take a look at YSlow. It also gives you recommendations on how to improve your load time.

In case you need to check this within stress conditions, Silk Performer's TrueLog includes very similar page statistics and recommendations, from DNS lookup to AJAX requests and object rendering.

  • I also found "Page load time" Chrome plugin useful. – masood ghz Sep 22 '15 at 11:59
0

None of the load testing tools will execute JavaScript. So the choices are in:

  • YSlow - for semi-automated checks
  • Selenium - for fully automated checks
  • JMeter + WebDriver Sampler if you later plan to convert your test into a load test.
  • To what extent does YSlow support being semi-automated? – ToastandTesting Sep 24 '15 at 7:02
  • If you use browser plugin - you can just open URL and get YSlow report. It can be combined with Selenium. – Dmitri T Sep 24 '15 at 14:15
0

If you are familiar with JMeter, the you should use the same for load testing the Ajax enriched web applications. You need to use "JSR223 Sampler" for this purpose.

You can also go for the licensed tools like VSTS, Neoload, Silk Performer and Load Runner (very expensive).

0

The tools HPE Loadrunner/Performancecenter with the TruClient protocol (more info) and MicroFocus Silk Performer with the Browser Driven protocol (more info) do offer measuring client side.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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