Test Client for testing WCF Rest services or just use browser?

人盡茶涼 提交于 2019-12-06 04:51:04

I use Fiddler. Browsers are a real pain to try and test with.

You may want to consider testing them through a unit testing framework instead of through the browsers. E.g. NUnit or - depending on your Visual Studio edition - MS Test might be options.

You may be able to avoid the WCF protocol overhead and talk straight to the service implementations, unless you specifically want to test the protocol.

Automating the test will help you to test more often and increase the test coverage, so you can move faster.

rest-client is simple and does the job. It is small and portable since it runs in a Java VM.

There are two nice FireFox pluggins I use:

  • Poster
  • REST Client (I just switched from Poster to REST Client because you can save the requests here)

/fn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!