Running soapUI Script on Linux

Symptom


The soapUI script only works on CDP Servers installed on Windows.

When executed on a Linux CDP Server, the script fails on Volume and Disk Safe creation due to the path, e.g., C:\SOAPDiskSafeTest1.

XML Errors:

<faultstring>Path must be absolute</faultstring>
<faultstring>Invalid Path.</faultstring>

Resolution


If you want the scripts to work "out of the box," use the following credentials:

In order to make the soapUI script work on Linux CDP Servers, edit the Volume Path in the createVolume calls, and also change the Disk Safe path in the createDiskSafe calls.

Related Articles


Page: Accessing API Documentation (CDP) Labels: enterprise_edition, advanced_edition, standard_edition, api
Page: Accessing Example API Functions (CDP) Labels: enterprise_edition, standard_edition, advanced_edition, api
Page: Running soapUI Script on Linux (CDP) Labels: api
Page: API - Solved Issue with Closed Disk Safe (CDP) Labels: api
Page: API - Solved Issue with Wrong User Attributes Keys when Creating and Getting Power Users (CDP) Labels: api
Page: API - Solved Issue with createPolicy (CDP) Labels: api
Page: API - Solved Issue with getStorageDiskByPath (CDP) Labels: api