question

Neetha avatar image
Neetha asked ericnute edited

content-type(application/json) for POST in Rest Session profile

![alt text][1] [1]: /storage/temp/4328-restheadererror.png Why is there a soap+xml content-type in the response given below? Why don't I get any HTTP success/error codes in my response? Why am I getting only 4 of the 13 values I should be typically getting in my response? Is there some document on Rest Session that describes about POST and Get(property settings, especially the HTTP header option) in detail with some examples.
iTestsession profilerestjson
restheadererror.png (15.4 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

amichaels avatar image
amichaels answered
I can't answer about the content type mismatch. The HTTP response code is in the response, just not the response text. Look at the structure view, and you can query the response for the HTTP response code. I'm guessing that the other values you're looking for are also in the response, just not in the text for the response view. See if you see what you want in the structure view. For 4.4 I believe the HTTP response code will be visible in the response window.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

drakesh avatar image
drakesh answered
Hi Michaels, Yes, you are correct from iTest v4.4 onwards the HTTP response code will be visible in the response window. Attached is the screenshot for your reference. Regards, Rakesh![alt text][1] [1]: /storage/temp/4329-implementation_session_window.png

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Neetha avatar image
Neetha answered
Thank you all for answering my question. Is v4.4 available for download? If not, when will the itest v4.4 be available for download. We are using v4.3.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

drakesh avatar image
drakesh answered
I believe 1st week of July.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.