Not able to Authorization in REST request (POST) through testrunner
I am trying run my test cases through testrunner but REST request do not add "Authorization" and it fails. Please let me know how to include auth in RAW request through testrunner.
Note: I am using SPNEGO/Kerberos auth and generate my token through kinit.exe
Here are the RAW request from UI and test runner -
POST http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 2264
Host: xxxxxxxxxxxxxxxxxxxxxx
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Authorization: Negotiate YIIGXwYGKwYBBQUCoIIGUzCCBk+gDTALBgkqhkiG9xIBAgKhBAMCAXaiggY2BIIGMmCCBi4GCSqGSIb3EgECAgEAboIGHTCCBhmgAwIBBaEDAgEOogcDBQAgAAAAo4IFPGGCBTgwggU0oAMCAQWhFBsSQUNFLkFBQUNMVUJORVQuQ09Noi4wLKADAgEAoSUwIxsESFRUUBsbemEwaWliZDQuYWNlLmFhYWNsdWJuZXQuY29to4IE5TCCBOGgAwIBF6EDAgEEooIE0wSCBM/vwonj+itzkrlGicI024c3Fi7yIABv6u6fPG6IL2DsHqWJEhlc+wQ58iJ2KZ3gOw4TslxuYYSg+l/5FIwfG0jxuTKkWp9y4+ioLQ73k5S0paQAGSu+SOZ/f8HBSqhzTwu2ZbOojS0PqFTiLiGbT5jrJ5j0L9A5YRCuhGTMQR2VU4XSiDMgHA9Xtt4uT9IKIoupTBRsS8gXC5j2EXWlP38Aw6hwd3G4OHIcFskRqMUSkjqr69sToufnUzW1lfP5g3/5Veclm1dW7UYBZWdJK8Wx/FDuGGjl7V2hmieaLnJIH7Xw5skCLeCcPLs7Rk84o/Wwnz5f/XxzWjRN9iuEayLsOa1FCmNdpwJ/WU0pWpIQwq7ThaGnBspXAVgUnuY1I5Ydat5aaoAWEqgnXUuzPzXPBDdU5Gl0bzRiUtZo8YZShgtuYS0K7FRfAb4OJrWfKKHyINzXEMveubYzV0AqZz1hxwsIzs5F0RrZhH83qc+OhWmrh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DMuJyug0M+tcft+TaC9VGAX01bOiq3pZHrMZCMRVLGarfCw3ofGv0VIsEhJqK3wpIHDMIHAoAMCAReigbgEgbX844hVT1i1xMGjwvQzI2I1WMLajJujkGmYf/AnBE7t5jY/WpoRAR392D7EoD2WwrSbCjX5pHf56X/vA+0SoF3JzsGFwn3Z4eHXL5UtQlbZucpGbmbG326UdM3yYNM2LFs1n84hGf32bBYy6GPkXTDNOnc0GJsRQRDsDA7VF9jfqIGT7Hs9QB4n23nv8V1SEY1774F8kLm8qWO3z9LS14zGPrBwEUnlZifWuZhXaPxRv3YjzaUk
----------------------------------------------------------------------------------------
Host: xxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Length: [2264]
Accept-Encoding: [gzip,deflate]
User-Agent: [Apache-HttpClient/4.1.1 (java 1.5)]
Connection: [Keep-Alive]
Content-Type: [application/json]
POST http://xxxxxxxxxxxxxxx
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 2264
Host: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
---------------------------------------------------------------------------------------