英国 (GB) 测试地址与 +44 同步电话夹具

预加载英国真实城市邮编映射与 Ofcom & Royal Mail PAF 合规号段(07700 900000–900999 / 020 7946 0xxx / 01632 960xxx),支持在下方分屏控制台一键切换边界压测并导出 Playwright / Stripe / SQL / CSV。

ISO GB +44 E.164 SW1A 1AA
>_ 测试数据构造与边界压测控制
批量条数
一键边界压测预设
监管保留号段 14 字符
合成测试地址
1263 Deansgate, Manchester, ENG M1 1AE, GB
Manchester, ENG M1 1AE · GB
同步区号电话
+441614960022
0161 496 0022 · +44 161 496 0022 (161)
合成测试身份
Gabriel Delgado-Cruz
gabriel.delgadocruz.32@addressqa.test
{} 实时代码与导出
{
  "meta": {
    "service": "AddressQA",
    "seed": "qa-uk-01",
    "country": "GB",
    "countrySlug": "uk",
    "state": "ALL",
    "taxFree": false,
    "phoneMode": "safe",
    "boundary": "normal",
    "count": 1
  },
  "fixtures": [
    {
      "id": "qa-uk-01-1-GB-ENG",
      "index": 1,
      "seed": "qa-uk-01",
      "boundary": "normal",
      "recipient": {
        "fullName": "Gabriel Delgado-Cruz",
        "nativeName": "Gabriel Delgado-Cruz",
        "displayName": "Gabriel Delgado-Cruz",
        "firstName": "Gabriel",
        "lastName": "Delgado-Cruz",
        "email": "gabriel.delgadocruz.32@addressqa.test"
      },
      "address": {
        "line1": "1263 Deansgate",
        "line1Native": "1263 Deansgate",
        "line2": null,
        "city": "Manchester",
        "cityNative": "Manchester",
        "state": "ENG",
        "stateName": "England",
        "postalCode": "M1 1AE",
        "zipPlus4": "M1 1AE",
        "country": "GB",
        "countryName": "United Kingdom",
        "formatted": "1263 Deansgate, Manchester, ENG M1 1AE, GB"
      },
      "phone": {
        "countryCode": "GB",
        "dialCode": "+44",
        "areaCode": "161",
        "regionCode": "ENG",
        "regionName": "England",
        "city": "Manchester",
        "mode": "safe",
        "regulatorSafe": true,
        "regulatorAuthority": "Ofcom & Royal Mail PAF",
        "e164": "+441614960022",
        "international": "+44 161 496 0022",
        "national": "0161 496 0022",
        "rfc3966": "tel:+441614960022",
        "digitsOnly": "01614960022"
      },
      "qaFlags": {
        "taxFreeUsState": false,
        "leadingZeroPostal": false,
        "streetLength": 14,
        "hasUnicode": false,
        "hasLine2": false,
        "regulatorSafePhone": true,
        "postalRequired": true
      }
    }
  ]
}
GB 技术规格矩阵

英国邮编正则、边界测试与监管号段规范

英国 (GB) QA 校验规则表
校验维度 规范与边界说明
邮编正则与长度 示例 SW1A 1AA(最大长度 8,正则 /^(?:GIR 0AA|[A-Z]{1,2}\d[A-Z\d]? \d[A-Z]{2})$/)
前导零截断风险 标准非零或字母开头格式,仍建议使用 VARCHAR 存储
E.164 电话与区号同步 国家码 +44,标准有效长度 10 位,安全段 07700 900000–900999 / 020 7946 0xxx / 01632 960xxx
典型测试城市样本 London (ENG) · 邮编 SW1A 1AA · 区号 20
权威标准来源 英国通信管理局 Ofcom 官方影视与测试保留号段:手机 07700 900xxx、伦敦 020 7946 0xxx、曼彻斯特 0161 496 0xxx、爱丁堡 0131 496 0xxx。 (Ofcom & Royal Mail PAF)
同步城市区号样本

英国内置城市邮编与区号前缀表

英国代表行政区与同步电话区号
行政区 代码 城市 邮编 区号
England ENG London SW1A 1AA +44 (20)
England ENG Manchester M1 1AE +44 (161)
Scotland SCT Edinburgh EH1 1YZ +44 (131)
Wales WLS Cardiff CF10 1EP +44 (29)
Northern Ireland NIR Belfast BT1 5GS +44 (28)
同区域其他市场

继续测试相邻国家/地区夹具

FAQ

英国测试数据常见问题

英国(GB)邮编的正规校验正则是什么?
英国邮编可使用 /^(?:GIR 0AA|[A-Z]{1,2}\d[A-Z\d]? \d[A-Z]{2})$/ 校验(典型样例:SW1A 1AA)。校验前建议先做 Unicode NFKC 归一化并清理多余空格。
AddressQA 生成的英国测试电话会拨通真实用户吗?
在默认的“监管安全号段”模式下,AddressQA 输出 07700 900000–900999 / 020 7946 0xxx / 01632 960xxx(遵循 Ofcom & Royal Mail PAF 规则),并同步城市真实区号,专为自动化测试设计,严禁用于真实短信或外呼。
如何通过 API 在 CI 流水线中拉取固定的英国测试数据?
请求 GET https://addressqa.com/api/v1/fixtures?country=GB&seed=qa-uk-01 即可稳定复现相同的 JSON、Stripe、Playwright、SQL 或 CSV 测试夹具。