I am facing one odd problem, I was able to make this (https://my.factcorp.com/ABCorp/Reporting/api/Events/) Rest API call from POSTMAN, but not from Visual Studio Web Test.
PostMan call trace
GET https://my.factcorp.com/ABCorp/Reporting/api/Events/ HTTP/1.1
Host: my.factcorp.com
Connection: keep-alive
Authorization: Basic
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Postman-Token: 4dfaa309-c7d8-6785-d59c-9679ad4f3aaa
Accept: /
Accept-Encoding: gzip, deflate, sdch, br
Accept-Language: en-US,en;q=0.8
Whereas, when I am making a call for same rest API from Webtest, getting below error
Request failed: An existing connection was forcibly closed by the remote host
I can see Postman has added some extra header to the request, I also tried that by adding manually all those headers.
Any thought appreciated.
Thanks