Forum Discussion

bmcim123's avatar
bmcim123
Occasional Contributor
8 years ago

Assertions to verify items are being returned in alphabetical order/ascending/descending order etc

    How can I perform assertions on the RESPONSE of a REST API request in order to verify the items (such as DocumentID are being returned in alphabetical order/ascending/descending order...
  • nmrao's avatar
    nmrao
    8 years ago
    Based on the script given, you should be able adopt the script for all these properties.

    Just pass required value to "getPropertyValues".