Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65391

Performance testing of Windows Forms application

We have a very old windows forms application that communicates with the server using .net remoting.

Can anyone recommend a method or a tool to performance test this.

Upvotes: 3

Views: 5221

Answers (2)

Ian Ringrose
Ian Ringrose

Reputation: 51917

Last time I looked there were no good tools for performance testing a windows application with many users.

You can use a profiler to see what is going on if the single user case is too slow. If you only are about a hand full of users, most UI test tools could be used to record a script that you played back on a few machines.

Otherwise you need to write a command line application that talks to the server in the same way as the windows forms app, and then run many copies of that command line app.

Or get the server to log all calls in such a way as the calls can be played back.

In the past I have thought about getting each client to log the calls to the sever in the form of C# statements that could then be compiled to create a performance test program.


There are some systems that claims to record the communication between the client and the sever at the network level, and then play it back many times. This may work if it is sensible for lot of clients to send the some requests with the same params to the server, otherwise there will be lots of scripting within the tool to create custom requests for each client.

Upvotes: 2

Adam Lear
Adam Lear

Reputation: 38778

To do performance testing on the application, you can use a profiler, such as the ANTS Performance Profiler. I'm not sure if that's going to profile the network communication as well or not.

Alternatively, you can set up performance counters and record information that way when you run your app.

Upvotes: 2

Related Questions