Web Services Options Dialog

Applies to TestComplete 15.10, last modified on November 30, 2021

The options in the Web Services Options dialog affect the functional testing of web services. To view or change the options, select Tool | Options from the TestComplete main menu and then choose Engines | Web Services in the ensuing Options dialog:

  • HTTP Proxy Server

    This section contains options that specify proxy settings that are used to connect to the web service under test.

    • This computer is connected to the Internet via proxy - Specifies whether your computer connects to the tested web service via a proxy server. The address, port and login settings of the proxy server are specified by other options of this section. Note that the proxy server must support the CONNECT function (the vast majority of modern proxy servers support this function).

      If TestComplete has direct access to the tested web service, you may turn the Use HTTP Proxy option off. In this case, all other options of this section will be ignored.

    • Proxy address - The address of the HTTP proxy server, which TestComplete uses to connect to the tested web service. This can be the computer name or IP address.

    • Port - The port number that TestComplete uses to connect to the HTTP proxy server. Default value: 8080.

    • Login and Password - The user credentials (login and password) used to identify the user on the specified proxy server. These options are needed when the proxy server requires user authentication.

  • Timeout settings

    This section contain options that let TestComplete automatically close inactive connections to the web service under test.

    • "Send" timeout - The maximum number of seconds that can be spent for sending a request to the tested web service. If the request has not been sent within this time period, TestComplete treats the connection to the web service as inactive.

    • "Receive" timeout - The number of seconds that TestComplete will wait after sending a request to the tested web service and receiving the response. If TestComplete does not receive a response during this time period, it treats the connection as inactive.

      Note: If .NET WCF API is used, use the "Send" timeout option to specify both the Send and Receive timeouts. The value of the "Receive" timeout option is ignored.
    • "Connect" timeout - The number of seconds that TestComplete will wait after sending a connection request to the tested web service and receiving the response. If TestComplete does not receive a response during this time period, it means the web service is off or unavailable and it cannot be tested.

  • Preferred Web Service API

    This section contains options that let you select the desired API (.NET WCF or native) for calling methods of the service under test.

    • .NET WCF - Default. If this option is selected, TestComplete uses the .NET API to call methods of the web service under test.

    • Native - If this option is selected, TestComplete uses the Native API to call methods of the web service under test.

See Also

About Testing Web Services
About Testing Web Services
Creating Web Service Tests

Highlight search results