cancel
Showing results for 
Search instead for 
Did you mean: 

Schema Compliance Assertion - property expansion

New Contributor

Schema Compliance Assertion - property expansion

Hi

 

I'm pretty sure that in previous versions of Soap UI (somewhere around ReadyApi 2.4.0) it was possible to define Schema Compliance Assertion dynamically using property expansion, like:

${#Project#service_address}/some.service?wsdl

Judging by this I'm not mistaken, it worked in the past:

https://community.smartbear.com/t5/API-Functional-Security-Testing/Schema-Compliance/m-p/7315

 

It looks like with SoapUI 5.6.0 it is not possible anymore or something changed in the way it should be used. So the first question is: is it not possible in that version?

I see I'm not the first one stumbling upon it:

https://community.smartbear.com/t5/SoapUI-Open-Source/Dynamic-Schema-Compliance-Assertions/m-p/40934

 

I've tried this solution via groovy:

https://community.smartbear.com/t5/SoapUI-Open-Source/Schema-Compliance-Assertion-setting-Definition...

Somehow it doesn't work for me as expected. It changes url only after closing and opening project again. Which is contrary to the purpose of it - being dynamically changed during execution.

 

So, to reiterate:

1. is it possible to use property expansion in Schema Compliance Assertion?

2. if not, how to change url in this assertion dynamically during test execution?

 

Regards

Jarek

1 REPLY 1
New Contributor

Re: Schema Compliance Assertion - property expansion

Thanks to SmartBear support I learnt that:

a) property expansion in Schema Compliance Assertion works in ReadyAPI

b) property expansion in Schema Compliance Assertion is not available / doesn't work in SoapUI Open Source.

 

I was adviced to create a new request:

https://github.com/SmartBear/soapui/issues/584

and hope for the best...

 

Happy New Year everyone!

 

 

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors