AnsweredAssumed Answered

Customize error response assertion not generating response varibale

Question asked by shobhit.saxena01 on Jan 18, 2019
Latest reply on Apr 3, 2019 by ROMANPENA82343162

We are using "Customize Error Response" and then "Raise Error" in our service and raising a 500 error, but in message-completed global policy we are not getting the response object to fetch ${response.http.status}, though SoapUI is getting the HTTP 500 error.

How can we get the response status or http error status that is returned from the service in case of "Raise error" in message-completed policy?


While if we use "Return template response to Requestor" in our service , we are getting response object in message-completed policy and hence the value for ${response.http.status} .