Forum Discussion

bmcim123's avatar
bmcim123
Occasional Contributor
7 years ago
Solved

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
    7 years ago
    Based on the script given, you should be able adopt the script for all these properties.

    Just pass required value to "getPropertyValues".