ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to overcome the CEM Web Services authentication problem in SoapUI


Article ID: 37213


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE



This article discusses about the additional steps required to overcome the CEM Web Services authentication problem in SoapUI.



Due to the nature of the CEM Web Services which use Form Based Authentication, in which a username or password cannot be easily passed in a request to invoke the Web Services operation, one would encounter authentication problem when trying to invoke these CEM Web Services from a SoapUI project. To overcome the authentication problem, additional steps will be required while creating a new Project in the SoapUI.



SoapUI 5.0



Here are the steps to overcome CEM authentication problem in SoapUI:

1) Add a Groovy Script to your project by selecting Insert Step > Groovy script.  You can use this SOAPUI_CEM_Webservices_access_Groovy_script .zip script, and modify the hostname to match your MOM/TESS hostname.  

<Please see attached file for image>



2) For every SOAP request to your project add the header "Cookie" with the value as ${#TestCase#ID}

3) Finally, invoke the Web Service Operations. For example, below is a screenshot of invoking the getAllUsers operation from ConfigurationDataOutService

<Please see attached file for image>



Additional Information:

Although the above steps would overcome the CEM Web Services authentication problem in SoapUI, a better approach to retrieve CEM data would be to use the CEMExportTool which can be downloaded from here.


Release: CEMUGD00200-9.7-Introscope to CA Application-Performance Management-Upgrade Main


1558723594262000037213_sktwi1f5rjvs16wx6.png get_app
1558723592253000037213_sktwi1f5rjvs16wx5.png get_app get_app