We have developed many Web services for different purposes, and authorized users can access and use these Web services. SoapUI is a powerful tool for testing Web services, and he can not only Test soap services, he also supports testing restful services. Here I will explain how to test the ASP. NET Web API using the SOAP UI.
Because the Web service is called by the program, generally does not provide the interface for end users or testers to use directly, before the SoapUI and other tools, testers have to write their own program to test it, which requires testers to spend a lot of effort to understand the underlying interface, call relationships and detailed protocols, Cause they can't focus their attention on the test.
The appearance of SoapUI greatly changed the situation. As an open source tool, SoapUI powerful features, easy-to-use interface, attracting a lot of users. SOAPUI supports a variety of protocols, such as Soap,rest, HTTP,JMS,AMF, and JDBC. SOAPUI allows you to quickly create advanced performance tests very quickly and automatically for functional testing. The user can complete the complex test through the simple operation in the SoapUI, does not need to understand the underlying detail, greatly reduces the work. SoapUI supports a variety of tests, such as functional testing, performance testing, regression testing, and more. So far, SoapUI has exceeded 1 million downloads, becoming a Web services testing standard and a leading Web services testing tool. It can not only test SOAP-based Web services, but also test restful Web services, which is the focus of this article.
SoapUI is based on Java development, supports multiple platforms and is easy to install. Readers can download an installation package on SoapUI's official website (This article uses Window version 5.0.0) and install it directly. Below we test with getting Started services with ASP. NET Web API 2.
Testing the REST service with SoapUI
Test Your ASP. WebService using SoapUI
Teaching ASP. NET Web API to WADL
Teaching ASP. NET Web API to Wadl–via NuGet
Testing the ASP. NET Web API using SoapUI