I want to conduct performance testing on a single page application.I want to do that programmatically .As I know performance testing for SPA includes both client_end page loading,java script execution time and server_end response time, against asynchronous Ajax calling.
I used JMeter API programmatically for running test script at server_end by following How to create and run Apache JMeter Test Scripts from a Java program? this.
Now I want to run test script for client_end using JMeter WebDriver API programmatically.I follow this How to approach "end-client" performance testing on single-page (web) applications? but it doesn't give me enough information on how to use JMeter WebDriver API programmatically.
So my question is How can I use WebDriver API programmatically? Any suggestion???