| || |
Performance Testing - WPF desktop application
Hi, What are the list of tools in the market that can be used for performance testing of WPF applications? I checked out few tools but most of the performance tools are targeted at web applications. Basically, I would like to run load tests on my WPF application and I am evaluating tools.
Normally you shouldn't be testing WPF applications (as well as any desktop applications). Normally there are 2 options:
- Use profiling tool
- Mimic increased network activity
If your application is totally standalone the only option is using a profiling tool in order to assess layout, rendering, parsing, disk IO, etc.
If your application does any form of a network communication, i.e. talks to backend or displays information from the database you might want to load test the backend by simulating multiple WPF applications instances acting simultaneously. The most straightforward choice in that case would be using Visual Studio Load Testing Framework or if your license doesn't cover that bit and you don't have enough budget - you can consider an open source load testing tool which are normally free.
Before the era of the Web, the bread and butter business of the classical performance testing tools were thick client applications. On Windows, the dominant form of these were windows presentation foundation (WPF) applications. That is why you see in all of these classical tools support for native to database protocols, ODBC, Winsock, CORBA/RMI, DCOM, even terminal emulation where screen scraper WPF front ends were involved.
Originally Posted by 131727
You are going to be looking at the more mature commercial tools: IBM/Rational, Microfocus/Borland/Segue, HP/Mercury. You have some other players in the market, but most of their solutions are hand coded interfaces to your application set, rather than a recordable interface set.
Replace ineffective offshore contracts, LoadRunnerByTheHour
. Starting @ $19.95/hr USD.
Put us to the test, skilled expertise is less expensive than you might imagine.
Twitter: @LoadRunnerBTH @PerfBytes
WPF (windows presentation foundation) apps are hard to load test because they often use the WCF (windows communication foundation) protocol that is proprietary to Microsoft, while most load testing tools are http based. However, if the WPF application is just using a simple http based protocol like soap or json, you can use almost any load testing tool by setting up the load testing tool as a recording proxy.
Originally Posted by 131727
In the case your windows app is a WCF protocol, you have 2 main options.
1. Use Visual Studio Ultimate. It's pretty annoying that the load testing features comes in at the Ultimate level, but it's there and probably the easiest way to get load testing on WPF. https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx
2. The 2nd option is to configure your services to fall back on the TCP protocol which more load testing tools could support. https://msdn.microsoft.com/en-us/library/ff649818.aspx
Originally Posted by dlai
WCF is supported at the COM layer, supported by a number of tools. You also have, with many commercial tools in addition to Visual Studio Ultimate, extensions which allow for the creation of virtual users in Visual Studio using the application source code. WCF also decomposes into ODBC, OleDB, Native Database Driver, Sockets, CORBA, DCOM, etc... depending upon the development model. All of these are supported by many tools outside of Visual Studio. But these are the tools which have history which predates the Web Client-Server era.