Performance testing for a Single Page App (SPA)

1,466 views
Skip to first unread message

Sam D.

unread,
Jan 13, 2016, 7:20:49 AM1/13/16
to jmeter-plugins
Hi,

I'm looking to do performance testing of the Single Page Application (i.e. a Web app that load a single HTML page and dynamically update that page as the user interacts with the app)

(a) Can you please redirect to an example JMeter tutorial? 

(b)  I actually tried following the steps under http://jmeter-plugins.org/wiki/WebDriverTutorial/#Web-Driver-Sampler but don't see any output in the Listener. Its empty. (only that Firefox browser is launched and closed)
Am I missing something in the setup?

I'm using Jmeter v 2.13 and Firefox v 42

(c) To measure the performance of iOS/android app, I did recording using Blazemeter's mobile recorder. 
But, I see only https api requests and nothing specific to screen load. the most I can measure is the response time from the server for the api.
If this the way it is supposed to work, how do I measure the load time of specific screen on the app?


Wondering if Jmeter a good tool for application with heavy java scripting?

Appreciate your guidance.



Thanks,
Sam

Darren Hartford

unread,
Jan 13, 2016, 9:01:24 AM1/13/16
to jmeter-...@googlegroups.com
Hi Sam,
I would suggest a testing framework that executes on the browser or javascript itself rather than Jmeter, Jmeter only tests services (protocols over the wire) not web applications themselves.  By stating you want to test SPA, it sounds like you want to test browser/javascript rather than the service calls.  Some examples of browser/javascript testing frameworks include Selenium (what Blazemeter is based off of), PhantomJS, or a full framework like Arquillian that supports Selenium and PhantomJS under the covers.

-D


--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Vincent Daburon

unread,
Jan 13, 2016, 10:59:49 AM1/13/16
to jmeter-plugins, binary...@yahoo.com
Hi,
The firefox version supported is maxi Firefox 39 not 42.
look at :
https://groups.google.com/forum/#!topic/jmeter-plugins/-YmtZEOxYco

Regards.
Vincent D.
Reply all
Reply to author
Forward
0 new messages