Forum Discussion

gurmeet_kaur's avatar
gurmeet_kaur
Occasional Contributor
13 years ago

Test Complete doesn't support webservice that uses authentication with security token?

Hi,



while creating the SOAP request for webservice , I came across the following statement on:

http://support.smartbear.com/viewarticle/30979/



"TestComplete currently does not support web services that use digest authentication, authentication with security token services and authentication with trusted subsystem services."



Can anyone explain this point in detail please......

Like if I have securityContext or security Token in my webservice, i can not test the webservice using the testcomplete??

4 Replies

  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 1 rankChampion 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_sethi's avatar
    bharat_sethi
    Occasional Contributor
    Hi Alex,



    Can you please advise does TestComlete support pre-emptive authentication as provided in SOAPUI, Please refer the attached screenshot.



    Regards,

    Bharat



     
  • bharat_sethi's avatar
    bharat_sethi
    Occasional Contributor
    Many 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.