How to performance test an AngularJS Web Application?

后端 未结 4 1394
南旧
南旧 2021-01-04 02:20

I used to do performance testing on websites mostly with JMeter scripts.

However, more and more projects are build with frontend MVC\'s, such as AngularJS and a curr

4条回答
  •  星月不相逢
    2021-01-04 02:50

    You can try to use the option 'Use as Monitor' for the requests you fire up from your test.

    http://jmeter.apache.org/usermanual/build-monitor-test-plan.html

    They are performance killers, though. Another option is to use the listener 'Save Responses to a File' to see if the end HTML is delivered. It should not give you the ideal result but it might help.

    If you want to track down performance of XHRs for a single user, you can try to play with Selenium and BrowserMob Proxy, but it is not under the stress testing, but functional testing.

提交回复
热议问题