API测试自动化

时间:2021-07-20 11:37:08

关于使用 testNG 进行 RESTful API 测试 自动化,这三篇文章可参考:

零成本实现接口自动化测试 – Java+TestNG 测试Restful service:http://www.cnblogs.com/wade-xu/p/4229805.html

Java RESTful API integration testing:https://www.javacodegeeks.com/2011/10/java-restful-api-integration-testing.html

Testing REST Endpoints Using REST Assured:https://semaphoreci.com/community/tutorials/testing-rest-endpoints-using-rest-assured

 

这是一个基于chrome浏览器,进行web测试的例子: 

How to Run Webdriver in chrome browser?:http://www.seleniumeasy.com/selenium-tutorials/how-to-run-webdriver-in-chrome-browser

 

这两篇文章是从 web角度进行的测试:

带你入门带你飞Ⅱ 使用Mocha + Chai + SuperTest测试Restful API in node.js:http://www.cnblogs.com/wade-xu/p/4673460.html

这些年我们一起搞过的持续集成~Jenkins+Perl and Shell script:http://www.cnblogs.com/wade-xu/p/4378224.html

 

这篇文章介绍了RESTful web service:

A RESTful Web service, an example:http://www.peej.co.uk/articles/restfully-delicious.html