Project was fast-and-furiously developed for the purpose of translating and understanding GWT payload components.
Requests were previously intercepted and the payload saved by jMeter's Proxy server.
The final goal was to parameterize GWT RPC calls (during performance testing of a GWT application), so the results
would be as realistic as possible.
Testing was done using Apache JMeter and Rational Peformance Tester.
To set this up in Eclipse:
- create a new Java project
- check out the src folder
- add your gwt project to build path (so that your classes can be loaded)
- add jdk6 to build path
- open run configuration and add this line as the Program argument:
"${string_prompt}""${file_prompt}"
Then, when you run/debug PayloadDeserializer
class, Eclipse will prompt you with two dialogs.
First one is for your payload and the second one is for destination file path of the output file, where the parsed payload will be stored.
If you are having problems with pasting payload into Eclipse dialog, as a quick-and-dirty fix, you can temporarily hard code your payload's value in the PayloadDeserializer Main
's local variable (as shown in the code).
Finally, sorry for the mess in the code, I really had very limited time for load testing so I had to patch things up like this.
Had I have time I would've developed jMeter plugin for gwt rpc parametrization.
Anyway, I hope this helps someone...