Jun 15, 2018

Geb / Spock Gatling vs JMeter

is a browser automation solution. GEB = Selenium WebDriver + Java + Groovy + Jquery
It brings together the power of WebDriver, the elegance of jQuery content selection, the robustness of Page Object modelling and the expressiveness of the Groovy language.
It can be used for scripting, scraping and general automation — or equally as a functional/web/acceptance testing solution via integration with testing frameworks such as Spock, JUnit & TestNG.
Spock (same idea as Cucumber): 
Spock is a testing and specification framework for Java and Groovy applications. 
Spock lets you write specifications that describe expected features (properties, aspects) exhibited by a system of interest.

Gatling is a highly capable load testing tool. It is designed for ease of use, maintainability and high performance.
Out of the box, Gatling comes with excellent support of the HTTP protocol that makes it a tool of choice for load testing any HTTP server. As the core engine is actually protocol agnostic, it is perfectly possible to implement support for other protocols.
Gatling simulation scripts are written in Scala.

JMETER VS GATLING TOOL: https://octoperf.com/blog/2015/06/08/jmeter-vs-gatling/

1 comment:

Mark said...

Newer Gatling 3.x allows writing tests in its own DSL instead of requiring plain Scala.
I haven't yet explored it, but it might give Spock a run for its money.