接口做到最好是,既能覆盖代码的 条件 /逻辑 /业务覆盖 又能覆盖需求 和系统
SOAPUI:测试webservice 接口工具;(类似postman)【开源工具】
SoapUI Pro是SoapUI的商业非开源版本,实现的功能较开源的SoapUI更多。【商业工具】
LR: 测试HTTP接口;【商业工具】不适合做接口测试,LR太大。
开源工具:jmeter jsoup, httpclient python中的urllib 和urllib2 requests 库
自动化和接口测试主要验证一些关键部分,部分UI方面的需要功能测试;
UI 自动化和接口自动化不冲突(用例之间都有交叉)
测试覆盖率工具:EclEmma(eclipse 的插件,测试Java语言程序的覆盖率。通过使用Java测试框架TestNG来测试)
该工具主要是程序员在开发时测试使用的。
IE上可以安装httpwatch,该工具类似chrome 中的开发者功能,可以查看请求报文。
poster:Firefox的插件,也是用来测试接口的工具;(不是很好用,没有对中文编码处理。类似httpwatch功能。)
postman:接口测试工具;
fiddler:接口测试工具;(可以测试手机APP接口;也是一个代理)
接口测试入门使用jsoup就可以,深入需要用LR。最终使用jmeter httpclient python中的urllib 和urllib2 requests 库这些代码类工具;
接口测试选择什么工具要看测试目的;