aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes how to test DWR AJAX performance ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to test DWR AJAX performance ?" Watch "how to test DWR AJAX performance ?" New topic
Author

how to test DWR AJAX performance ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
how to test AJAX performance ?

I coded a DWR ajax application, how could I test its performance ? How could I simulate 1000 users using this application at same time ?

Thanks
[ November 15, 2007: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
How would you normal test it with 1000 users at the same time?

Eric
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
How could I find 1000 users ?

Thanks
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I assume you want to test the server at 1,000 users since the browser only supports 1. The server can't tell an AJAX call from any other; as Billy Joel says, It's all HTTP to me. Can't you simulate the AJAX calls with any HTTP load tool?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
I should specify that I am using DWR reverse ajax., different from the servlet.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Ah, that I don't know about. I did have a design with a server calling Applets but that was all sockets which probably doesn't apply atoll.

How does DWR do that ... send an XHR request that doesn't get answered until the server has a message to send?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to test DWR AJAX performance ?