Skip to content

Limit Test Runs to Specific Countries

Tell SurveyTester which countries a survey may be tested from. SurveyBots then start with a VPN server in one of them, picked at random.

Published 2 min read .md

Many surveys only accept respondents from certain countries. The survey system or the panel checks the respondent's IP address. A visitor from anywhere else is screened out, sees different content or is blocked. If your SurveyBots run from the wrong country, they test a survey that real respondents never see.

Without SurveyTester, you have to remember the right VPN location every time you start a test, and every tester on the team has to do the same. In SurveyTester, you set the allowed countries once on the project. Every SurveyBot start then uses a VPN server in one of those countries.

What the setting does

When a project is limited to specific countries:

  • The Test Survey dialog only lists VPN servers in those countries.
  • Use VPN is switched on and a server is preselected at random. Repeated starts are spread over the allowed countries.
  • Show all countries lists the other VPN servers too. Use it when you want to test deliberately from outside the limit, for example to check that a visitor from another country is screened out.
  • A warning appears when none of the selected countries has a VPN server.

Without a limit, nothing changes: you pick the VPN server yourself, as before.

How to limit a project to countries

Step 1: Select the countries

Open your project and go to the General tab. Expand Limit Testruns to specific Countries and select one or more countries in the list. Type a name or a country code such as "DE" to find a country quickly. The setting is saved right away.

Placeholder: screenshot of the General tab with the section Limit Testruns to specific Countries and Germany, Austria and Switzerland selected
The country limit on the General tab

If no VPN server is available for any of the selected countries, a warning appears below the list. SurveyBots then run from their own location. Contact support@surveytester.com if you need a location added.

Step 2: Start the SurveyBots

Open Test Survey and choose SurveyBot Testing. Use VPN is already switched on, and a VPN server in one of your countries is selected. You can pick another server from the list. The list only contains servers in your countries.

Placeholder: screenshot of the Test Survey dialog with Use VPN switched on, Show all countries switched off and a VPN server in Austria selected
The VPN list follows the country limit

Step 3 (optional): Test from another country

Switch on Show all countries to list every VPN server and pick one outside the limit. SurveyTester only accepts a server outside the limit when this option is on. Without it, the job runs without VPN and you get a warning.

Good to know

  • To remove the limit, remove all countries from the list.
  • You can still switch Use VPN off. The SurveyBots then run from their own location.
  • The VPN option needs the permission to use a VPN. Without it, the Test Survey dialog shows a warning on a limited project.
  • The VPN server used by each test run is stored with the test run, so you can check later where a run came from.