I have no idea to create script for check response object message api below
I tried use :
WS.verifyElementPropertyValue(response, ‘message’, ‘Sorry we can not find events that you want!!’) but not working
and i use below command to check string in response :
assert response.getResponseText().contains(‘Sorry we can not find events that you want!!’) it worked
But I want to check this
“message”: [
"Sorry we can not find events that you want!!"
\]