Forum Discussion
4 Replies
- AlexKaras
Champion Level 1
Hi,
This is very good question, and my current understanding is that no, this is not possible at the moment. I hope that Support will correct me if I am wrong here.
The possibly good news is that TC9.2 introduced two new events for web service testing, one of which is the OnWebServiceRequest. Within the event handler for this event you should be able to create the Header part of the request with the proper Security node and add it to the outgoing request.
The only problem here is that I did not found yet how to generate a signature for the given part of the request (body, user name/password hash, etc.) using certificate by the means of .Net or native Win API. - bharat_sethiOccasional Contributor
- AlexKaras
Champion Level 1
Hi Bharat,
Refer to the mentioned article (http://support.smartbear.com/viewarticle/55655/), it describes what is supported by the latest TestComplete version and try if it works for your web service. - bharat_sethiOccasional ContributorMany Thanks Alex,
That artical does not explain any thing about pre-emptive authentication.
As pre-emptive authentication is a Basic type authentication and supported as per artical. In SOAPUI, we need to select a radio button to make it work but when trying it in Test Complete, it says not authenticated.
It seems although TestComplete support Basic authentication but it is using global preference and no option to make it pre-emptive authentication.