I have a GWT application and wanna to test load and functionality using a tool like jmeter. I am not sure jmeter is right tool for GWT. Can anybody direct me to proper tool or can tell me how to do it with jmeter?
I want to test login functionality: I have two text box 'User name' and 'Password' on login screen and want to test how many users can log in simultaneously, how much time a round trip to server it takes. Don't know how jmeter can get 'user name' and 'password' and can submit it to validate against DB for GWT application?
Thanks in advance.
I guess it depends what exactly you want to test. If you want to test the client-side code as well, something like Selenium might be better.
If you just want to test the back-end, though, you could have JMeter send it HTTP requests via HttpClient or something similar. You can determine what needs to go in the request using a debugging proxy such as Fiddler.
Testing GWT with load testing solutions based on HTTP forms like JMeter or Selenium can be quite hard because of evolving user interfaces.
On our project we took another approach.
Using the gwtrpccommlayer project, we call directly RPC servlets from JUnit.
http://code.google.com/p/gwtrpccommlayer/
It means we can re-use our server side facades API in our load testing scripts, an maintain these scripts as server-side code evolve.
Therefore in JUnit we can launch multiple threads to simulate several users using the application and collect statistics.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With