Am getting this error 'Missing Required Headers' in the response. But I can see in the Raw Request, that the Headers are sent.
Here is the raw request :
Client_id and client_secret are the headers that are being sent.
POST https://abc.com/trec/restconsumer/v1/profile.do HTTP/1.1Accept-Encoding: gzip,deflateContent-Type: application/jsontransaction_id: It8dozMcOKNx5HgfcvXkZXoUYM8k7Bxzmfms0n7faEbyELDXvHost: abc.comAccept-Encoding: gzip,deflateContent-Type: application/jsontransaction_id: It8dozMcOKNx5HgfcvXkZXoUYM8k7Bxzmfms0n7faEbyELDXvclient_secret: abcclient_id: abcContent-Length: 1997Host: abc.comConnection: Keep-AliveUser-Agent: Apache-HttpClient/4.1.1 (java 1.5)
My colleague has posted the exact same request with the headers and his test seems to run fine.
This same test worked few months ago with older version of SOAP. My current version is SOAPUI 5.5.0 . I tried uninstalling SOAPUI 5.5.0 and installed SOAPUI 5.4.0. Still no luck. Can you please help.
Go to Solution.
I figured the issue. In the URL endpoint, I gave http vs https . Once I gave https in the URL, the error is no longer seen 🙂
View solution in original post
The header is already present in the Raw request and it displays the value fine.
But when I run the test, it fails with the error 'Missing required headers' . Am using the same exact test as my team member. It works for him, but not me 😞