Ask a Question

Assertions failed because NULL/EMPTY response body, but reponse isnt empty

InekeBa
Occasional Visitor

Assertions failed because NULL/EMPTY response body, but reponse isnt empty

Hello,

 

The assertions on my POST REST fails because NULL/EMPTY response body, but the response body isnt empty.

When I do a property transfer from the response body to a custom property of my testcase the assertions is Valid. 

 

Why doesn't the assertion work directly on response body of my REST call?

1 REPLY 1
testhrishi
Frequent Contributor

what type of assertion you using here.

if it is just to check HTTP status code, it shouldn't fail?

cancel
Showing results for 
Search instead for 
Did you mean: