Aurora_Gaimon

CA PPM: SOAPUI - SOAP client tool (Part 3)

Blog Post created by Aurora_Gaimon Employee on Apr 11, 2017

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.

 

 

What does SOAPUI stand for?

SOAP is an acronym for Simple Object Access Protocol and UI stands for User Interface.

 

 

What is it?

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 

 

 

Where do we download it from?

See SOAPUI offical website: Download SoapUI Open Source | Downloads 

 

 

How do we configure it?

- 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.

 

 

 

How do we use it?

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/wsdl

or

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.

 

And if it's SSL ... ?

The exact same steps, just that your WSDL URL will be https instead of http.

 

 

Advantages

  • Easy to use and friendly wizard Graphical User Interface (GUI).
  • Can use sessionID instead of user / password.
  • Input and output XML files are within the same screen.
  • It's open source, for simple software version, no license is needed.
  • It works with any Web Services, not just CA PPM.

  

 

Disadvantages

  • It's not supported or certified by CA.
  • SOAP UI versions are not aligned with CA PPM versions.
  • Customer assumes risks when using unsupported tools, any issues will not be supported if they are not reproducible when using XOG client tool.
  • It requires developing skills for advanced options.
  • Tool can do many other functionalities which are not meant to be used with CA PPM for regular standard xogging.

 

 

Related links:

 

 

 

If you need help with XOG, engage CA Services or ask questions in CA Communities.

 

That’s all. Thanks for reading until here. Did you like it? Please, don’t be shy and share it.

Outcomes