Hello everyone,
I have tried verifyElementPropertyValue to check my post API using this parameter test
Metode : POST
URl : https://postman-echo.com/post?
Body : {“dummyRequest”:“yes”}
and the result is bellow :
I have successfull get dara using verifyElementPropertyValue in case verifyElementPropertyValue(response, “headers.accept”, “text/html, image/gif, image/jpeg, *; q=.2, /; q=.2”) but in case verifyElementPropertyValue(response, “headers.content-type”, “text/plain”) there is an error.
I think the main problem is hyphen (-) between content and type, so what should I do for resolve this problem?
Thank you
Regards,
Dian Permana