开发者

Simulate HTTP requests from different location - ASP.Net

开发者 https://www.devze.com 2023-02-28 06:20 出处:网络
I\'ve an asp.net application which shows some information to the users relevant to the country they are from. So I want to do functional testing on my application. How I can simulate HTTP requests to

I've an asp.net application which shows some information to the users relevant to the country they are from. So I want to do functional testing on my application. How I can simulate HTTP requests to my application from different countries开发者_StackOverflow中文版?


Basically use a proxy from another country. Do not forget to set the HttpWebRequest.Proxy property. See the MSDN article Send an HTTP Request with Proxy


Use http proxies, there are plenty of them all around the world !

You just have to configure your browser to use one of them, and then open your website in it.

http://www.proxy-list.org/en/index.php

0

精彩评论

暂无评论...
验证码 换一张
取 消