Crosscheck Networks SOAPSonar Personal Edition (now commonly referred to or succeeded by the Starter Edition) is a code-free API testing tool designed to help developers and QA engineers ingest Web Services Description Language (WSDL) or OpenAPI documents to test SOAP, XML, and REST-based web services. It serves as a visual diagnostic tool to quickly parse API structures, generate sample request messages, and evaluate service responses. 1. Ingesting and Loading Your Web Service
To begin testing, you must feed your API specification into the application so it can map out the available endpoints and structures.
Load WSDL or Schemas: Paste your web service URL (e.g., http://example.com) or import a local WSDL/OpenAPI definition file into the top address bar.
Parse the Document: Click the load/parse button. SOAPSonar will automatically dissect the schema, revealing a tree view of all exposed components, ports, and operational methods on the left navigation panel. 2. Generating and Customising Requests
SOAPSonar removes the manual burden of constructing raw XML envelopes or JSON payloads.
Select a Method: Click on a specific API method or function from the generated tree menu.
Auto-Populate Request Templates: The tool builds a formatted sample XML or JSON request template automatically, displaying it inside the main Request Panel.
Insert Form Inputs: Instead of writing raw code, use the graphical form editor to manually click fields and supply test values (such as IDs, dates, or string arguments) into the payload template. 3. Setting Up Security and WS-Tokens
For enterprise or secure web environments, SOAPSonar includes a Public Key Infrastructure (PKI) configuration engine to inject message-level security.
Manage PKI Certificates: Navigate to Tools > PKI Management to load your X.509 keys, Windows keystores, or Java keystores directly into the software.
Inject Tokens: Open the Tasks tab within the Request Panel. Drop down the WS-Tokens menu, add an option like WSS X509 Tokens, and bind your loaded certificate to the outgoing SOAP header. 4. Executing Tests and Analyzing Responses
Send Request: Press the main execution button (often styled as an arrow or “Send”) to dispatch the payload to the target server endpoint.
Expose Raw Message Exchange: View the raw response code, HTTP headers, and body returned by the server. This makes it easy to isolate runtime faults, debug broken parameters, and inspect problematic XML namespaces.
Set Success Rules: Define clear parameters using the Success Criteria Rule Framework. This establishes functional pass/fail rules based on text format, status codes, or content structure. 5. Automation and Regression Testing Consuming WCF service with ColdFusion – Adobe Community
Leave a Reply