Better Software - March 2008 - (Page 27) their infrastructure work as advertised across functional, performance, and interoperability requirements. Let’s examine these Web services testing requirements for our Add Web service. • We begin by installing and running SOAPSonar. Download and Install Crosscheck Networks SOAPSonar Enterprise Edition from www.crosschecknet.com/ download/p_cust_info_try.php. • Load the WSDL published at the .NET WebMatrix Endpoint: localhost:9090/MathWS.asmx?WSDL into SOAPSonar as shown in figure 5. Figure 3: C# code generated for simple MathWS.asmx operation Add(int a, int b) Three Pillars of Web services TesTing With the WSDL loaded into the test client SOAPSonar, you are now ready to perform the three pillars of testing Web services—functional, performance, and interoperability—for your target Web service. Each of these testing criteria described below is important for comprehensive Web services-testing coverage. Functional Testing Functional testing is the first pillar of Web services testing. Functional tests for the Add(int a, int b) operation can easily be created in SOAPSonar as follows: • Configure individual test cases in SOAPSonar for the operation as shown in figure 6. Use the New Test Case button for adding test cases. Figure 6 shows six test cases in the left navigation panel. For each test case, the SOAP request value is set and saved manually by the test case author. For advanced users, the input values a and b could be retrieved from external data sources such as a RDBMS, flat files, or spreadsheets. This eliminates the need for manual entry of SOAP request fields. • Once the test cases are defined, the user can select any combination of test cases and build a test suite. To build a test suite, click Run View as shown in figure 7. From the left-most navigation panel, drag-and-drop test cases into the default test suite. In figure 7, all test cases are selected to run as the default suite. Additional test suiterun parameters can be configured from this view including protocol HTTP 1.0 or 1.1, timeout settings, and wait times between each test case. With test cases and test suites, testers can easily organize test scenarios to en- Figure 4: Interface prompt for starting application on a selected local port Figure 5: SOAPSonar with Web services WSDL loaded from .NET WebMatrix Server www.StickyMinds.com MARCH 2008 BETTER SOFTWARE 27 http://www.crosschecknet.com/download/p_cust_info_try.php http://www.crosschecknet.com/download/p_cust_info_try.php http://www.StickyMinds.com
Table of Contents Feed for the Digital Edition of Better Software - March 2008 Better Software - March 2008 Contents Mark Your Calendar Contributors eLightenment Technically Speaking Code Craft Test Connection Management Chronicles Cover Story: Breaking Ground On SOA Software Development Worst Practices Mind the Gap Product Announcements 10 Things You Might Not Know About... The Last Word Ad Index Better Software - March 2008 Better Software - March 2008 - (Page Intro) Better Software - March 2008 - Better Software - March 2008 (Page Cover1) Better Software - March 2008 - Better Software - March 2008 (Page Cover2) Better Software - March 2008 - Better Software - March 2008 (Page 1) Better Software - March 2008 - Better Software - March 2008 (Page 2) Better Software - March 2008 - Contents (Page 3) Better Software - March 2008 - Mark Your Calendar (Page 4) Better Software - March 2008 - Mark Your Calendar (Page 5) Better Software - March 2008 - Contributors (Page 6) Better Software - March 2008 - Contributors (Page 7) Better Software - March 2008 - eLightenment (Page 8) Better Software - March 2008 - eLightenment (Page wp1) Better Software - March 2008 - eLightenment (Page wp2) Better Software - March 2008 - eLightenment (Page 9) Better Software - March 2008 - eLightenment (Page 10) Better Software - March 2008 - eLightenment (Page 11) Better Software - March 2008 - eLightenment (Page 12) Better Software - March 2008 - Technically Speaking (Page 13) Better Software - March 2008 - Code Craft (Page 14) Better Software - March 2008 - Code Craft (Page 15) Better Software - March 2008 - Code Craft (Page 16) Better Software - March 2008 - Code Craft (Page 17) Better Software - March 2008 - Test Connection (Page 18) Better Software - March 2008 - Test Connection (Page 19) Better Software - March 2008 - Management Chronicles (Page 20) Better Software - March 2008 - Management Chronicles (Page 21) Better Software - March 2008 - Management Chronicles (Page 22) Better Software - March 2008 - Management Chronicles (Page 23) Better Software - March 2008 - Cover Story: Breaking Ground On SOA (Page 24) Better Software - March 2008 - Cover Story: Breaking Ground On SOA (Page 25) Better Software - March 2008 - Cover Story: Breaking Ground On SOA (Page 26) Better Software - March 2008 - Cover Story: Breaking Ground On SOA (Page 27) Better Software - March 2008 - Cover Story: Breaking Ground On SOA (Page 28) Better Software - March 2008 - Cover Story: Breaking Ground On SOA (Page 29) Better Software - March 2008 - Cover Story: Breaking Ground On SOA (Page 30) Better Software - March 2008 - Cover Story: Breaking Ground On SOA (Page 31) Better Software - March 2008 - Software Development Worst Practices (Page 32) Better Software - March 2008 - Software Development Worst Practices (Page 33) Better Software - March 2008 - Software Development Worst Practices (Page 34) Better Software - March 2008 - Software Development Worst Practices (Page 35) Better Software - March 2008 - Software Development Worst Practices (Page 36) Better Software - March 2008 - Software Development Worst Practices (Page 37) Better Software - March 2008 - Mind the Gap (Page 38) Better Software - March 2008 - Mind the Gap (Page 39) Better Software - March 2008 - Mind the Gap (Page 40) Better Software - March 2008 - Mind the Gap (Page 41) Better Software - March 2008 - Mind the Gap (Page 42) Better Software - March 2008 - Mind the Gap (Page 43) Better Software - March 2008 - Mind the Gap (Page 44) Better Software - March 2008 - Product Announcements (Page 45) Better Software - March 2008 - 10 Things You Might Not Know About... (Page 46) Better Software - March 2008 - The Last Word (Page 47) Better Software - March 2008 - Ad Index (Page 48) Better Software - March 2008 - Ad Index (Page Cover3) Better Software - March 2008 - Ad Index (Page Cover4)
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.