c# - Connecting WCF service from an application which is behind proxy - Testing simulation -


i have wcf client application connects wcf service. need test behavior of application in case client machine using proxy.

my test environment not use proxy, how can simiulate scenario such can confidently test case?

typically wcf clients use proxy if client machine configured use one. is, if using proxy , ie (internet explorer) configured use proxy well, wcf client use proxy (unless configured otherwise). basichttpbinding (in confic file) has usedefaultwebproxy element true default. if don't see in config file (on client) true

you use public proxy server test make sure. there many free , paid proxy servers can use. example http://www.publicproxyservers.com/ paid proxy server.

basically you'll use proxy out onto internet , you'll need configure ie use proxy. when next run wcf client, use proxy well.

here website lists proxys. you'll find ip address/post , username/password use. can configure test machine use 1 of these proxies , test away.

note: free proxy servers suspect. careful when use them , there no telling (in terms of grabbing data). use @ own risk.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -