1.

What Is Web Services Testing?

Answer»

You can test Web services by calling Web methods from unit tests. The following LIST describes two ways to test Web services with unit tests:

  • The Web service runs on an active Web server. There are no special REQUIREMENTS for TESTING a Web service that runs on a LOCAL or a remote Web server, such as IIS. To do this, add a Web reference and then CALL the Web methods of the Web service from your unit tests just as they would call the methods of a program that is not a Web service.
  • The Web service is not hosted in an active Web server. you can test a Web service that runs on your local computer and not in a Web server, such as IIS. To do this, you use an attribute provided by the Team System testing tools to start ASP.NET Development Server. This creates a temporary server at localhost that hosts the Web service that you are testing.

You can test Web services by calling Web methods from unit tests. The following list describes two ways to test Web services with unit tests:



Discussion

No Comment Found