AnsweredAssumed Answered

Need to get value of http status code and text (present in response meta data) from excel file

Question asked by vinay.suri on May 25, 2018
Latest reply on Jun 5, 2018 by norre01

I need to get value of http status code and text (present in response meta data) from excel file.

 

Presently, I have given {{resp_code}} and {{resp_code_text}} in response meta data in VSI and fetching the values from excel file in VSM script.

I have checked in INSPECTION VIEW - the data from excel file is fetched properly but I am getting this error in "Virtual HTTPS Responder" - "java.lang.RuntimeException: The response object is not formed properly. It is missing the response code meta data entry or it is invalid: code=400"


(I had given status code = 400 and text = Fail in excel file)


Please guide me on the resolution of this issue.


Thanks in advance.

Outcomes