Forum Discussion

sunilkumarcm's avatar
sunilkumarcm
New Contributor
3 months ago

Rest step assertions written in SoapUI 5.5.0 are failing in SoapUI 5.8.0

I am using SoapUI 5.5.0 and we are in the process of migrating our scripts to SoapUI 5.8.0.But after migrating to SoapUI 5.8.0 many rest step assertions are failing because json path libraries in SoapUI 5.8.0 are enforcing stricter compliance/parsing when validating assertions. Some of my assertions with indices are failing only in SoapUI 5.8.0 like for example jsonpath count assertion $..id[0] is failing in 5.8.0, but working fine with SoapUI 5.5.0.

I would like to know

1.Is there any SoapUI preference or a property or flag in settings.xml with which I can revert to a more  lenient compliance check with schema like in SoapUI 5.5.0?

2.Is there any patch or plugin by using which my rest step assertions written in 5.5.0 will pass?

3.Or any other solution or groovy script

If I have this solution, i can save time in modifying all assertions which will take days

 

 

No RepliesBe the first to reply