angularjsvisual-studioperformance-testing

Web stress testing of AngularJS SPA ASP.NET MVC application in Visual Studio


Is it possible to test AngularJS SPA application developed using ASP.NET MVC with Visual Studio or any other alternative tool for the same purpose?


Solution

  • I solved the above issue by using a headless browser (PhantomJS). I wrote a script to simulate user logging into the angular application and loading the inbox. But this way I was able to test only one user.

    We cannot span multiple instances of PhantomJS, so I created 100 copies of the PhantomJS and then wrote a script to launch all these 100 copies to span 1 process of PhantomJS per file, the solution worked like a charm for load testing a SPA website.