Worksoft Certify – SoapUI Integration Guide – Part – 2
In Part 1 of this blog, we had discussed on how to create a sample Project in SoapUI that could be integrated to Worksoft Certify. This Part 2, continues to touch on the pre-requisites for SoapUI – Worksoft Certify Integration and finally how to use Certify in this context.
Pre-Requisites for SoapUI – Worksoft Certify Integration
- Worksoft Certify 10 or more (doesn’t work with 9.x.x)
- Configure “Path” Environment System Variable with the URL of your SoapUI Installation Bin Folder ( Very Important )
Ex: C:\Program Files\SmartBear\SoapUI-5.3.0\bin\
- SoapUI Project that is ready to be integrated to Worksoft Certify
To integrate SoapUI Project to Worksoft Certify, we must make some changes to the existing SoapUI project.
- Create Project Variables within SoapUI to input the Request data and to store the Response that will be later used by Worksoft Certify to Input, Execute and Store Response Output from SoapUI.
- Create Property Transfer: Step used to send the Response to a project Variable created in the previous step.
Now let’s see the above points in detail
Give a Name and a Value to the Variable
The Variables SizeValue, FromUnit, ToUnit are for Input data in the Request and ResultValue is for storing the Response output.
The ResultValue is blank because the output value (1024000) will be automatically stored to this variable during the Property Transfer.
2) Parameterize the Input fields in the Request with the Project Variables created earlier
Double click on the Property Transfer, Input Source and Target as per the below screen and click on Execute Transfer button (Green Arrow)
What happens here is the value from the Response is transferred to your Project Variable “ResultValue”
The XPath Code is used to fetch the specific node value within “ChangeComputerUnitResult” tag, else the variable would contain the whole Response data.
For tutorials on XPath please visit
After you execute the Property Transfer you should see the value “1024000” transferred to your “ResultValue” Variable
You should also see your Custom Properties Tab should now have the transferred value
We have completed the SoapUI Steps.
For Worksoft Certify 10 to access SoapUI we need the following details
- Project path
- Project Variable names
- TestSuite name
- TestCase name
Note: SoapUI and Worksoft Certify 10 must be installed on the same machine for the integration to work.
If you have an existing SoapUI project make sure you get the above data to use it with Certify.
Now Let’s see how we can use these details with Certify and execute the SoapUI Project from Certify without opening your SoapUI.
1) Open Worksoft Certify 10, create an Application with Interface type “SoapUI” and link it to your project
Note: If you do not have an existing Certify project, create it and link your application to it.
Note: You can input any value for Name, Physical Name and Attribute Value
The first step in Certify is to load your SoapUI Project. For the “Load” action we need to input at least three minimum parameters
a) Project File Name: Your SoapUI Project path
Note: You can find the Project path when you double click your SoapUI Project folder in SoapUI
b) Test Suite: Your SoapUI Test Suite name
c) Test Case: Your SoapUI Test Case name
Note: Since you have 3 input Project Variables in SoapUI, the same number of steps must be created here to pass data
Note: The “ResultValue” here is the name of the Property Transfer that you created in SoapUI. The Output parameter can have any variable from Certify.
7) Let’s execute the Certify Process
Note: It is recommended to close the SoapUI application if open before executing the Certify Process
OK = Passed in SoapUI, FAILED = Failed in SoapUI
Contribution by Avinash Kumar