Showing results for 
Search instead for 
Did you mean: 

Schema Compliance

Occasional Contributor

Schema Compliance

We have been using Soap Ui Pro for some time, and have used externalised properties to specify the URI of our Web Services to enable execution aginst various deployment environments (these are also automated through Junit within various build environments).

We've recently added Schema Compliance assertion steps which fail under certain circumstances.

Within each test request we have specified the Endpoint as "${webservices.url}/fetchCaseService/" for example, and changing the property works great to point at different deployments.

However, when specifying a schema compliance assertion, failures occcur when executing via the SoapUIProTestCaseRunner.
This appears to use the "Definition URL" defined at the Interface Level as part of the complicane check, and this variable does not appear to take account of any properties.

The error I receive is as follows:

15:42:44,318 INFO  [SoapUIProTestCaseRunner] running step [Fetch Non-Existant Case]
15:42:44,863 INFO  [HttpClientSupport$Helper] Initializing SSL
Progress: 1 - Caching definition from url [${webservices.url}/fetchCase/fetchCase.wsdl]
15:42:45,440 ERROR [SoapUI] An error occured [no protocol: ${webservices.url}/fetchCase/fetchCase.wsdl], see error log for details no protocol: ${webservices.url}/fetchCase/fetchCase.wsdl

I need to use the variable as tests tend to be developed aginst localhost, and then pointed to environments.

Many thanks for any assistance.

Marc Ludwig

Re: Schema Compliance

Hi Marc,

I cannot replicate the problem you're having.
I've created a test case which uses a property for a part of a web service endpoint URL which is also used in Schema Compliance assertion. The web service is accessed without problem and assertion is valid both from GUI and command-line testrunner (which invokes SoapUIProTestCaseRunner).

What build/version are you using?

Can you download the latest build and retry with it?

/Nenad Nikolic a.k.a. Shonzilla

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful
New Here?
Join us and watch the welcome video:
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!

Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server
Top Kudoed Authors