Registrar Tests
TIG Section 1.12.1
Test group: [tigSection_1_12_1_Validation]
The following steps should be used to test the RDAP protocol section 1.12.1 of the RDAP_Technical_Implementation_Guide_2_1:
- Test case -26100: Get the identifier in the publicIds element in the entity with the registrar role.
{
"code": -26100,
"value": "<publicIds data structure>",
"message": "An identifier in the publicIds within the entity data structure with the registrar role was not found. See section 1.12.1 of the RDAP_Technical_Implementation_Guide_2_1."
}
- Test case -26101: For the identifier found in the previous step, validate that an entry exists in the registrarId.
{
"code": -26101,
"value": "<identifier> '\n/\n' <registrarId>",
"message": "The registrar identifier is not included in the registrarId. See section 1.12.1 of the RDAP_Technical_Implementation_Guide_2_1."
}
- Test case -26102: For the identifier found in the previous step, verify that every of the base URLs contain a schema of "https".
{
"code": -26102,
"value": "<Registrar entry in registrarId>",
"message": "One or more of the base URLs for the registrar contain a schema different from https. See section 1.2 of the RDAP_Technical_Implementation_Guide_2_1."
}