Tools for Ajax load testing

前端 未结 14 1088
悲哀的现实
悲哀的现实 2021-02-04 05:42

There seems to be a lot of stress/load testing tool that support AJAX.
I am wondering how well does these tool implemented.

Do they only record http request and repl

14条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-04 06:04

    Better write isolated test method or API for load testing ajax application. There are some reasons:

    • It's not so easy to write functional tests to Ajax applications, for example for GWT.
    • You can use Jmeter WebDriver plugin, but for each run it starts browser which will use most of RAM and CPU.
    • You will load backend not frontend, so you can avoid ajax.

    You can devide your testing like that: for Ajax application use Selenium or PhantomJS/CasperJS. For load testing use JMeter, Gatling via API not via Ajax.

提交回复
热议问题