Try 'saving' some requests from onBeforeRequestDeserialized(String
serializedRequest). This will be your POST body. Make sure to set your
content type to text/x-gwt-rpc and encoding to UTF-8.

I am not familiar with HttpClient so I have no suggestion on how to
use it with this.


On Jan 8, 11:36 am, logicpeters <[email protected]> wrote:
> Hello,
>
> I'm trying to performance test my GWT app, and simulate the load of
> multiple users (>1000) hitting the application at once.  I've tried
> HtmlUnit.. but didn't have any luck -- it choked on the javascript.
> So, instead, I'm going to simulate the RPC calls of those users from a
> test class.
>
> My problem is that I'm not sure how to connect to the GWT servlet
> (RemoteServiceServlet) and simulate those RPC calls outside of a
> client application (using GWT's RPC mechanisms).  I've considered
> opening up multiple threads in GWTTestCase -- but doesnt that only
> work in Hosted Mode?
>
> I'd prefer to use something like HttpClient and hit a URL.  But I'm
> not sure how to construct the POST requests required for the GWT
> servlet.  Any ideas?
>
> Thanks in advance..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to