I am trying to compare response with expected json stored already as a file. There are few elements in response where the order is different in response. Tried below code but still failing:
def expected_response = read('classpath:api/template/test.json')
And match response == '#(^*expected_response)'
Also tried
And match response contains any expected_response
Both cases error comes as actual does not contains expected. Kindly help to resolve.