Ask a Question

How to log Http Status code returned by SoapUI mock

Shan
New Contributor

How to log Http Status code returned by SoapUI mock

Hi,

 

I'm returning just http status code 202 - Accepted from the SoapUI (v5.4.0 - freeware) mock. I want to log this http status code so I can be sure of http status code returned by mock.

 

I tried following statement  in "AfterRequest Script" tab and it does not log the http status code

mockResult.getResponseHeaders()

 

Thanks for your response.

 

2 REPLIES 2
nmrao
Community Hero

Re: How to log Http Status code returned by SoapUI mock

Shan
New Contributor

Re: How to log Http Status code returned by SoapUI mock

My question is about logging the http status code.
If you have solution, please respond
cancel
Showing results for 
Search instead for 
Did you mean: