使用Selenium webdriver + Maven + TestNg进行REST API测试(REST API testing using Selenium webdriver+Maven+TestNg)
有任何一个使用selenium webdriver + Maven + TestNG测试REST API。 请分享信息或示例项目
Has any one tested REST API's using selenium webdriver+Maven+TestNG. Please share the information or sample project
最满意答案
Selenium WebDriver用于与Web浏览器交互,而不是HTTP API(RESTful或其他)。
有许多HTTP客户端库可用于Maven和TestNG。 这里有一些:
Google的HTTP客户端库for Java Oracle的泽西客户端和泽西测试框架 Pivotal Software的Spring RestTemplate Apache Software Foundation的Apache CXF客户端APISelenium WebDriver is for interacting with web browsers, not HTTP APIs (RESTful or otherwise).
There are lots of HTTP client libraries available that work well with Maven and TestNG. Here are some:
HTTP Client Library for Java by Google Jersey Client & Jersey Test Framework by Oracle Spring RestTemplate by Pivotal Software Apache CXF Client API by The Apache Software Foundation更多推荐
发布评论