New to Telerik Test Studio? Download free 30-day trial

Using the HTTP Proxy in Test Studio

The Telerik Testing Framework ArtOfTest.WebAii.Messaging.Http namespace contains classes to intercept HTTP requests and responses. However, using these classes in a Test Studio coded step and executing against browsers other than Internet Explorer, the HTTP proxy may not become enabled. To use this code in a Test Studio test, enable the HTTP proxy in the Test Studio Project Settings.

http proxy

The project setting 'Use http proxy' enables the HTTP proxy for the use of the HTTP proxy classes in Test Studio coded steps. It functions like the following line from the HTTP Proxy code sample, which is only necessary in Telerik Testing Framework tests:

// Override the settings you want. For example:
settings.Web.UseHttpProxy = true;
In this article