In the last couple of posts, we saw different ways and tools to XOG in/out. There are more tools in the market which can be used, but bear in mind, they are not support by CA. Therefore, any technical issue you may encounter when xogging, CA support will request to reproduce it with XOG client. If issue does not occur, you will get not support for it. Customer is assuming the risk when using unsupported tools.
I know one of the most common third parties tool used to test Web Services is SOAPUI. Let's going to take a look.
SOAP is an acronym for Simple Object Access Protocol and UI stands for User Interface.
SoapUI is an open-source web service testing application 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: SoapUI - Wikipedia
See SOAPUI offical website: Download SoapUI Open Source | Downloads
- Go to your SOAPUI home directory(ie: “C:\Program Files\SmartBear\soapUI-x.x.x\bin”)
- Edit your soapUI-x.x.x.vmoptions file with an advanced editor (strongly recommend to use notepad++).
By default is set to -Xmx1000m:
** Note: x.x.x refers to the soapUI version
- Specify the maximum size of the memory allocation pool (JVM).
In my lab machine I've set -Xmx2048m but that will depend on you available RAM and your type of testing/xogging.
A part from that, there is nothing else we need to modify to make it work with CA PPM (and, even you don't re-configure the memory and use the defaults settings, it will still work too).
- Now, you are ready to launch the SoapUI-x.x.x.exe. Once console is open, you will see there is a Preferences menu as well. You don't need to configure anything just for a simple XOG in/out.
First step is to create a new SOAP Project.
Enter any Project Name you want and your WSDL URL:
If you don't know the WSDL URL, please, try the following:
http://<your_CAPPM_server>:<port>/niku/xog --- (which will redirect you to WSDL URL too)
The following website will be shown:
For demo purposing, let's do a XOG out (read) from a project instance.
Navigate to Object and Projects.
You just got the WSDL URL to XOG projects . Let's go to add it in SOAPUI.
The following definitions will be imported into our tool:
You can either Read or Write. For demo purposing, let's go to Read a project instance.
Click on Request 1 under ReadProject.
Following XML code will be shown. As you can see, we can either use sessionID or user/password for logging.
In that demo, I will use the user and password option and XML code from xml templates provided within the XOG client tool in CA PPM.
Click on Submit request button:
and XML output file will be generated.
So, simple like that.
The exact same steps, just that your WSDL URL will be https instead of http.