Q: Load testing Tapestry app mainly using javascript with JMeter I have a Tapestry application, which I want to load test using JMeter.
The problem is Tapestry app gives a response which is mainly javascript, no html to parse. 
To be able to verify the response, I need to evaluate javascrpt. 
Does anybody has any experience or pointers on how to do this ?

A: If you only need to search for specific expected values in the response you could use a post processor like the Regular Expression matcher.
See example here: http://blazemeter.com/blog/using-regular-expressions-jmeter

A: As Howard M. Lewis Ship has mentioned, you are probably best to use Geb for this. Geb is a layer of jQuery like groovy syntax that sits on top of selenium.
Normal usage is to have Geb/Selenium fire up a real browser (chrome/firefox/IE) to run the tests. There's also a java only / headless option to use a HtmlUnitDriver which is much faster than firing up a browser. Note that the DOM / javascript provided by HtmlUnit runs on rhino and may have it's own quirks that make it differ from a real browser(s).
