Solved
Forum Discussion
nmrao
Champion Level 1
8 years agoWas it a number or string? Just because, they are padded with zeros.
bmcim123
8 years agoOccasional Contributor
It is an integer. For other API calls I will also need to need to assert on strings (whether they are being returned in ascending/descending order). In other words, I need a solution for both. Thanks.
- nmrao8 years ago
Champion Level 1
Ok, thank you for clarifying. What is the other field / property name?- bmcim1238 years agoOccasional Contributor
Other field names include:-
FileName string
Status string
UploadedBy string
PurchaseDate date-time
Currency String- nmrao8 years ago
Champion Level 1
Based on the script given, you should be able adopt the script for all these properties.
Just pass required value to "getPropertyValues".
- nmrao8 years ago
Champion Level 1
Here you go:
https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/json/ArePropertyValuesInOrder.groovy