General Tests
TIG Section 1.2
Test group: [tigSection_1_2_Validation]
The following steps should be used to test the RDAP protocol section 1.2 of the RDAP_Technical_Implementation_Guide_2_1:
- Test case -20100: If the scheme of the URI to be tested is "http":
See the HTTP URLs conformance consideration for further information.
{ "code": -20100, "value": "<URI>", "message": "The URL is HTTP, per section 1.2 of the RDAP_Technical_Implementation_Guide_2_1 shall be HTTPS only." }
- Test case -20101: If the scheme of the URI to be tested is "https", perform the same RDAP query using "http". If the HTTP URI provides a response (other than redirect)::
See the HTTP to HTTPS Redirects conformance consideration for further information.
{ "code": -20101, "value": "<RDAP response provided over HTTP> + '\n/\n' + <RDAP response provided over HTTPS>", "message": "The RDAP response was provided over HTTP, per section 1.2 of the RDAP_Technical_Implementation_Guide_2_1 shall be HTTPS only." }
Note: If redirects are present, the test [tigSection_1_2_Validation] shall be performed on the URL on the last HTTP redirect.
TIG Section 1.3
Test group: [tigSection_1_3_Validation]
The following steps should be used to test the RDAP protocol section 1.3 of the RDAP_Technical_Implementation_Guide_2_1:
- Test case -20200: If the scheme of the URI to be tested is "https", verify that SSLv2 and SSLv3 are not offered by the RDAP server.
Note: the test [tigSection_1_3_Validation] shall be performed on the URL on every HTTP redirect.
TIG Section 1.6
Test group: [tigSection_1_6_Validation]
The following steps should be used to test the RDAP protocol section 1.6 of the RDAP_Technical_Implementation_Guide_2_1:
- Test case -20300: The tool shall use the HTTP HEAD method on the URI to be tested. If the HTTP Status code is different from the status code obtained when doing the GET method:
{ "code": -20300, "value": "<HTTP Status code when using the GET method> + '\n/\n' + <HTTP Status code when using the HEAD method>", "message": "The HTTP Status code obtained when using the HEAD method is different from the GET method. See section 1.6 of the RDAP_Technical_Implementation_Guide_2_1." }
TIG Section 1.8
Test group: [tigSection_1_8_Validation]
The following steps should be used to test the RDAP protocol section 1.8 of the RDAP_Technical_Implementation_Guide_2_1:
- Test case -20400: Obtain the Resource Record for the A QTYPE for the host in the URI. Validate that the status of the DNS response is not NOERROR. Validate that all IPv4 addresses in the RDATA pass IPv4 address validation [ipv4Validation]:
- Test case -20401: Obtain the Resource Record for the AAAA QTYPE for the host in the URI. Validate that the status of the DNS response is not NOERROR. Validate that all IPv6 addresses in the RDATA pass IPv6 address validation [ipv6Validation]:
Note: the test [tigSection_1_8_Validation] shall be performed on the URL on every HTTP redirect.
TIG Section 1.13
Test group: [tigSection_1_13_Validation]
The following steps should be used to test the RDAP protocol section 1.13 of the RDAP_Technical_Implementation_Guide_2_1:
- Test case -20500: Validate that the HTTP header "Access-Control-Allow-Origin: *" is included in the RDAP response.
See the CORS (Access-Control-Allow-Origin) conformance consideration for more information.
{ "code": -20500, "value": "<HTTP headers>", "message": "The HTTP header 'Access-Control-Allow-Origin: *' is not included in the HTTP headers. See section 1.13 of the RDAP_Technical_Implementation_Guide_2_1." }
Note: the test [tigSection_1_13_Validation] shall be performed on the URL on every HTTP redirect.
TIG Section 1.14
Test group: [tigSection_1_14_Validation]
The following steps should be used to test the RDAP protocol section 1.14 of the RDAP_Technical_Implementation_Guide_2_1:
- Test case -20600: Validate that the JSON string value "icann_rdap_technical_implementation_guide_0" is included in the RDAP Conformance data structure.
TIG Section 3.3 and 3.4
Test group: [tigSection_3_3_and_3_4_Validation]
The following steps should be used to test the RDAP protocol section 3.3 and 3.4 of the RDAP_Technical_Implementation_Guide_2_1:
- Test case -20700: Validate that at least one links data structure exists within the notices object in the topmost object.
TIG Section 4.1
Test group: [tigSection_4_1_Validation]
The following steps should be used to test the RDAP protocol section 4.1 of the TIG:
- Test case -20800: Validate that all the entities in the RDAP Response contain structured address. If a street address has more than one line, it MUST be structured as an array of strings.
TIG Section 7.1 and 7.2
Test group: [tigSection_7_1_and_7_2_Validation]
The following steps should be used to test the RDAP protocol section 7. 1 and 7. 2 of the TIG:
- Test case -20900: Validate that at all the tel properties in the entities in the RDAP Response contain voice or fax as type parameter.