Soap Panda a Soap Client application for testing Web Services

Introduction

Soap Panda is an application for testing soap based web services. Soap Panda takes WSDL as input and generates in memory .NET soap client proxy code for invoking web service methods. This code is compiled and stored in an executable file; executable file is then explored by Soap Panda application using reflection to create instances of the classes that exist in the soap proxy client dll.

There are many libraries that can help you generate SOAP proxy client code from WSDL in various languages such as Java, C#, C++ but what is not readily (free) available is a GUI tool which capitalizes on the generated SOAP proxy client code to simplify the calling of Web Services method.

Download latest release at Soap Panda



Soap Panda a Soap Client application for testing Web Services

Main Features of Soap Panda

The following features are expected to be useful for developers and test engineers developing and testing SOAP based Web Services.

SOAP Request entered in a Form

Soap Panda provide form based user interface to accept soap method input arguments. The user interface expands as more complex types are encountered within a argument type. The array of complex types are also handled by this application in a form based manner. This provides great flexibility for inserting array elements for a type.

Lock/Unlock feature

Soap Panda can lock user entered input for a web service method argument inside the soap request form. The locked argument is automatically gets populated for other methods as long as their type and name are matched to the one locked by the user. This feature remains persistent even after closing and opening of the application. This feature will help in testing and working with web services where many of the input argument remained same across different web service methods; User of this application could lock the input argument field and modify only the input argument that are unique to the web service method.

Testplan and Testcase feature

Soap Panda provide user ability to save input arguments of a Web Service method into a Testcase object and provide interface to add conditions for testcase's success using xpath location of the tag to be compared to the response of the Web Service method request.

Soap Panda a Soap Client application for testing Web Services

How to use Soap Panda Application

  • Start Soap Panda application and click on File menu to select New Soap Client.
  • A following dialog box will appear. Please enter values for at least two fields "Test Plan Name" and "URL for WSDL". [image002.jpg]

The "Test Plan Name" (e.g., "MyWebService") entered by user is used for namespace in generated proxy client code and directory by its name is also created for storing binary and source code of the SOAP proxy client. There is also an XML file "MyWebService.spxml" is created. This file will store SOAP properties such as target URL, Username, password and testcases created by the user.


Note: This example of Amazon FPS requires you to create pkcs12 file using X.509 private and public keys created in your account setup at Amazon Flexible Payment Service. To add PKCS12 certificate file to SOAP Panda application, click Soap menu and then click "Add Security Header".
You can use tools like openssl to generate PKCS12 certificate file.
[image010.jpg]

[image006.jpg]

Clicking on "Save" icons saves the response of a web service method to an XML file.

[image008.jpg]

Clicking on "Copy" icon will copy XML text of the response to clipboard.

Soap Panda a Soap Client application for testing Web Services

How to Save a Testcase

  1. After entering all values required for a web service method, click on "Save Testcase" button. This will submit your request to web service server.
  2. This will open a Testcase property window. You will be asked to provide name of your Testcae.

[image016.jpg]

  1. Click on "Add Condition", it will open another dialog box which will allow you to set conditions for your testcase.

[image018.jpg]

  1. Click Ok.

[image020.jpg]

Soap Panda a Soap Client application for testing Web Services

How to Run, Edit or Remove a saved Testcase.

 

a) Mehod 1 - View only Selected Web Service method Testcases

 

  1. Select the web service method for which you want to load input test data and run.
  2. Click on "Run Testcase" button. It will present dialog box with list of testcase exist in Testplan for this web service method.

 

[image022.jpg]

 

  1. After selecting Testcase you want to run, Click "Ok".

 

[image024.jpg]

 

 

b)      Method 2 - View all Testcases

 

  1. Click "Test Plan" menu option and select "View Testcases".
  2. A dialog box with list of Testcases grouped alphabetically by "Testcase" name will appear. You can click any column to change the Group sorting to that column.

 

[image026.jpg]

 

  1. Select the testcase and click "Run" button.
  2. You can click on Edit to edit a testcase.
  3. Similarly clicking on Remove will remove the selected testcase from the Testpan.

 

c)      Method 3 - View all Test to Run in batch mode

 

  1. Click "Test Plan" menu option and select "Run Testcases".
  2. A dialog box with list of Testcases grouped alphabetically by "Testcase" name will appear. You can click any column to change the Group sorting to that column.

 

 

 

[image028.jpg]

 

  1. Select the testcases you like to "Run" and Click "Run Selected".

 

[image030.jpg]

 

  1. Select testcase and click "View Result" to find conditions that failed.

 

[image032.jpg]



Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • This ESG study by Mark Peters evaluated a common industry-standard disk VTl deduplication system (with 15:1 reduction ratio) versus a tape library with LTO-5, drives with full nightly backups, over a five-year period.  The scenarios included replicated systems and offsite tape vaults.  In all circumstances, the TCO for VTL with deduplication ranged from about 2 to 4 times more expensive than the LTO-5 tape library TCO. The paper shares recent ESG research and lots more. 

  • As mobile devices have pushed their way into the enterprise, they have brought cloud apps along with them. This app explosion means account passwords are multiplying, which exposes corporate data and leads to help desk calls from frustrated users. This paper will discover how IT can improve user productivity, gain visibility and control over SaaS and mobile apps, and stop password sprawl. Download this white paper to learn: How you can leverage your existing AD to manage app access. Key capabilities to …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds