Forum Discussion

soapuifan's avatar
soapuifan
Occasional Contributor
14 years ago

sorting properties

Hi,
in soapui open source there is button for sorting properties (alphabetically).

Can anyone share how to get the same behaviour via groovy script? I want to sort all the properties used in given test case (properties defined on test case level)
alphabetically. The properties are in eg in transfers so I assume I can not just get properties map, sort it, delete all properties, and set them back from sorted
map. This way all the transfers will be nulled...

Yuor quick response is higlhy appreciated.