/gwt-payload-deserializer

Because proper performance testing requires parameterization (moved from GoogleCode)

Primary LanguageJava

gwt-payload-deserializer

Automatically exported from code.google.com/p/gwt-payload-deserializer on 2015.03.30 Originally developed in 2010 during a performance testing gig.

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.

Setup

To set this up in Eclipse:

  1. create a new Java project
  2. check out the src folder
  3. add your gwt project to build path (so that your classes can be loaded)
  4. add jdk6 to build path
  5. 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...