Notes on SoapUI testing tutorial for fresher

The article about Notes on SoapUI testing tutorial for fresher. This is my second session, I have already published my previous first session.it was basic session and hope your awareness get increasing.

Notes on SoapUI testing tutorial for fresher

You should now see that the WSDL was successfully added to the project by seeing the operations in the Web Service in the navigator.

S1

Creating a TestSuite/TestCase/TestStep

In the left pane of the project, below the project name, right-click on the interface and click on “Generate TestSuite”

S2

 

You should now see that the TestSuite was successfully added to the project along with TestCase and Test Steps with selected operations.

S3

Request Pane &Response Pane / Invoking and getting results

S4

CDATA Syntax for SoapUI Request

<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:weat=”http://ws.cdyne.com/WeatherWS/”>

<soapenv:Header/>

<soapenv:Body>

<weat:GetCityForecastByZIP>

<!–Optional:–>

<weat:ZIP><![CDATA[<MESSAGE>

   <MultipleZIPCodes>

     <ZIPCode>

         <ZIP>12345</ZIP>

     </ZIPCode>

     <ZIPCode>


         <ZIP>45678</ZIP>

     </ZIPCode>

   </MultipleZIPCodes>

</MESSAGE>]]></weat:ZIP>

</weat:GetCityForecastByZIP>

</soapenv:Body>

</soapenv:Envelope>

A CDATA section starts with “<![CDATA[” and ends with “]]>“:

CDATA stands for Character Data and it means that the data in between these tags includes data that could be interpreted as XML.

Cloning the TestSuites

S5

Cloning the TestSteps

 

S6

Assertion categories

Property Content Category

Contains, Not Contains, Xpath Match, etc

      • Compliance, Status and Standards

Not Soap Fault, Soap Fault etc.

      • Script

Script Assertions

      • SLA

Response SLA

      • JMS
      • JDBC
      • Security
  • How to read values into request step From Properties Step
  • <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:weat=”http://ws.cdyne.com/WeatherWS/”>
  •    <soapenv:Header/>
  •    <soapenv:Body>
  •      <weat:GetCityForecastByZIP>
  •          <!–Optional:–>
  •          <weat:ZIP>${Properties#ZIP}</weat:ZIP>
  •      </weat:GetCityForecastByZIP>
  •    </soapenv:Body>
  • </soapenv:Envelope>

What is Groovy Scripting

  • An open Scripting language for Java
  • Support OO & script style programming.
  • GUI Development.
  • Integrate effortlessly with Java Library
  • To Automate the entire TestCases Scenarios.

Data Driven Testing

Create following Steps in SoapUI PRO.

DataSource – reads test data into properties from external source such as excel, file,grid,xml etc.

TestStep – tests service functionality using the DataSource properties

DataSource Loop – loops back to test step after each iteration of data.

This session is the core structure knowledge addition in your basic understanding and definitely these Notes on SoapUI testing tutorial for fresher will help you a lot.

Share This Post

Post Comment