Worksoft Certify – SoapUI Integration Guide – Part – 1
SoapUI is an open-source web service testing tool for service-oriented architectures (SOA) and representational state transfers (REST). Its functionality covers web service inspection, invoking, development, simulation and mocking, functional testing, load and compliance testing.
Source Ref: https://en.wikipedia.org/wiki/SoapUI
A web service is a service offered by a device to another device, communicating with each other via the World Wide Web. In a Web service, Web technology such as HTTP is utilized for machine-to-machine communication. Communication happens in the machine-readable file formats such as XML and JSON.
Source Ref: https://en.wikipedia.org/wiki/Web_service
To get started we need the SoapUI in the system you want to test your web service along with your Worksoft Certify.
Any version of SoapUI would work here. You can download and install the SoapUI from the link below according to your platform.
Download Link: https://www.soapui.org/downloads/latest-release.html
Open the SoapUI application, your SoapUI home screen would look something like below
You can leave the default checkboxes as it is and click on OK button
ComputerUnitSOAP12 is the latest version of SOAP and hence we will use this.
The Response is blank because we have not made any request till now.
This webservice is used to convert computer size units,
Ex: Converting 1000 Megabyte to Kilobyte would result in the response 1024000 (Kilobyte)
5) Let’s implement this on the Request and Check the Response returned by the web service
Now that we know the web service is working as it should, lets create a TestCase. Before we create a Test Case, we must create a Test Suite.
You can see the step count is “0” because we have not yet added our test steps
8) To add a Request to the TestCase that you created in the above steps,
Right Click on the Request that you want to test and select Add to TestCase
Select the TestSuite and the TestCase to add the selected Request and click OK
9) To Execute the TestCase, double click on your TestCase that you want to execute,
Click on the green arrow button to Execute
You can see the Execution has completed successfully and received a Response from the Web Service
We have now successfully created a Project to be integrated with Worksoft Certify.
A continuation of this blog in Part 2 touches on the pre-requisites for SoapUI – Worksoft Certify Integration and finally how to use Certify in this context.
Contribution by Avinash Kumar