Load testing WCF service (hosted on IIS) [closed]

2019-01-17 00:38发布

What tools are there that I can test out a WCF service?

I am expecting allot of load so I want to have an idea how much a single server can handle.

6条回答
趁早两清
2楼-- · 2019-01-17 00:57

I wrote my own tool (WCFStorm). These are the features:

General:

◦Dynamically invoke and test WCF Services

◦Dynamically invoke and test Web services written in any language

◦Save your opened service and its test cases into a "project" which can be reloaded anytime

◦Dynamically invoke service methods even those containing complex data types

◦UI-based, dynamic editing of complex data types

◦Test multiple WCF and Web services within a single UI.

◦Multiple-tabbed interface

◦Basic and windows authentication

◦Test services sitting behind a proxy

◦Dynamically modify the URL endpoint of a WCF or Web service.

◦Dynamically edit the service binding.

Functional Testing:

◦Create functional test cases and save it as part of a project

◦Create and save functional test cases containing Expected results.

◦Graphically compare (side-by-side) the expected results with the actual response of a service.

Performance Testing:

◦Create performance test cases and save it as part of a project

◦Graphically display charts in real-time as the performance test progresses.

◦Configurable test parameters (# of Agents, Test duration, interval etc.). You can stress out your service as much as you want.

Check out the screenshot.

alt text http://geekswithblogs.net/images/geekswithblogs_net/Erik/WcfStorm/WcfStormPerfTest.jpg

查看更多
Summer. ? 凉城
3楼-- · 2019-01-17 00:58

Try http://www.soapui.org/ there's an open source and pro version you will need to tick download loadui, which is your load test bit.

查看更多
够拽才男人
4楼-- · 2019-01-17 01:05

http://www.soapui.org/ is ok if you don't want to use net.tcp, it doesn't work with wcf and net.tcp

查看更多
劫难
5楼-- · 2019-01-17 01:06

WCFLoadTest all the way. I've even talked to MS guys who swear by this tool.

Visual Studio also has some load testing tools available, but I cannot vouch for how well they do their job, nor can I say which versions of VS contain the load testing tools.

查看更多
来,给爷笑一个
6楼-- · 2019-01-17 01:06

Start with this:

http://www.codeplex.com/WCFLoadTest

It doesn't do everything possible with WCF, but it is the best tool to start with. Worse comes to worse, it's not that hard to write manual invocation code with web services. They are much easier to load test than web sites.

查看更多
兄弟一词,经得起流年.
7楼-- · 2019-01-17 01:16

The SO-Aware test workbench makes things very easy with a rich visual experience. You can build a variety of tests and scenarios and run them very quickly.

http://www.tellagostudios.com/products/so-aware-test-workbench%E2%84%A2

查看更多
登录 后发表回答