News for hackers. Stuff that matters.

Ask HN: How to test website from different locations?

Is there a way to see if my website/service is accessible from different countries?

At the moment I fire up VPN, open browser in incognito mode, go to URL click link or two, take a screenshot as proof that web is up and running and then I move to the next one.

There must be a better way to do that. Is there a service for this? I was thinking about some automation maybe, but I lack selenium skills and I don't know how to activate VPN over the script.

( 7 comments | on HN )
Re:Ask HN: How to test website from different locations? by mtmail on Tuesday February 07, 2023 @06:42AM (#34691458)
There's services specialized in crawling + VPN. Often used to crawl shopping websites or Google result pages. One example is https://www.scrapingbee.com and you select the country https://www.scrapingbee.com/documentation/country_codes/ They can do screenshots, too.

If the concern is uptime there's a couple of service that also do regular screenshots and alerts when the website is slow or unresponsive. https://www.debugbear.com/ for example.

For a super quick check (every couple of months I need this) I usually use https://www.webpagetest.org/ Under 'advanced configuration' there's a dropdown of locations around the world. I gives a screenshot but not access to the full HTML.

Re:Ask HN: How to test website from different locations? by LLcolD on Tuesday February 07, 2023 @08:06AM (#34692196)
I really like webpagetest.org. Thank you!
Re:Ask HN: How to test website from different locations? by oriettaxx on Tuesday February 07, 2023 @07:59AM (#34692136)
uh, many: I've intensively used these two:

https://www.webpagetest.org

https://tools.pingdom.com

Re:Ask HN: How to test website from different locations? by LLcolD on Tuesday February 07, 2023 @08:07AM (#34692216)
Great. Webtestpage reminds me of https://browsershots.org/ that is down for some time.
Re:Ask HN: How to test website from different locations? by seedless-sensat on Tuesday February 07, 2023 @08:27AM (#34692420)
Datadog Synthetics is nice, and reports great telemetry. It supports like 20 locations: https://docs.datadoghq.com/synthetics/
Re:Ask HN: How to test website from different locations? by lolovaldez on Tuesday February 07, 2023 @09:14AM (#34692986)
bunny.net has a nice global latency test. Does not provide screenshots but gives you a nice overall of how fast the site is getting serve world wide.

https://tools.bunny.net/latency-test

Re:Ask HN: How to test website from different locations? by dieselgate on Tuesday February 07, 2023 @10:19AM (#34693909)
You can spoof the useragent and IP address as well, that's typically how I manage Geo testing at work.