2

I am new to JMeter. I wanted to do some functional testing of my GWT application using JMeter. Does it support GWT testing? For example I would like to write a script that might check if the login module of my GWT application is doing good or not. Please let me know if we have some sort of documentation specific to GWT testing with JMeter.

Thanks a million.

-- Mohyt

Mohyt
  • 990
  • 2
  • 10
  • 26

4 Answers4

1

There is a commercial solution called UbikLoadPack which offers a plugin for Apache JMeter to load test GWT and GWT RPC applications.

You can easily record, variabilize and replay GWT and GWT RPC based applications with standard knowledge of Apache JMeter.

See this blog for a tutorial:

And this for commercial infos:

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116
0

I think GWTRpcComLayer might be useful for your case: http://code.google.com/p/gwtrpccommlayer/

jusio
  • 9,850
  • 1
  • 42
  • 57
0

if you wanna test gwt client side then you have to use junit because jmeter does not support javascript and if you want to test at backend side than you have JMeter send it HTTP requests via HttpClient (http://hc.apache.org/httpclient-3.x/) or something similar.

Dipesh Gandhi
  • 765
  • 1
  • 13
  • 31
-1

JMeter is not the right tool for GWT-testing.

From jmeter homepage:

JMeter is not a browser. As far as web-services and remote services are concerned, JMeter looks like a browser (or rather, multiple browsers); however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in HTML pages.

In clear words: jmeter doesn’t load your gwt-application.

I would recommend selenium for browser based testing. Or just use JUnit with GWTTestCase for functional testing inside your IDE.

Sascha
  • 937
  • 6
  • 14