All sections / {current.section.title} / {current.chapter.title} / {current.topic.title} / {current.title} / {current.title} / {current.title} / {current.title}

Instantiating Tests

A CSWT test session is instantiated by creating an instance of the ResolverCapabilityTest javascript object as follows:

let test = new ResolverCapabilityTest(“TEST_TYPE”, “DOMAIN_NAME”, ADDITIONAL_TEST_CONFIG);   


TEST_TYPE is the type of session represented by the SESSION_KEY (one of the 6 defined test types in the SOW or a user defined type)

DOMAIN_NAME is the domain name in use for the test

ADDITIONAL_TEST_CONFIG - An optional Javascript object containing test specific properties if required as well as the following optional global properties.

multipleRequestsPerSession - If set to true this will permit more than one request to be made per browser session. This is useful for testing purposes but generally one hit per session is sufficient for resolver testing purposes. (Defaults to false)

Insecure - if set to true this will send requests over http instead of https. This is generally not required but can help with development and diagnostics with the SSCRT configurations. (Defaults to false)

Upon construction the test will begin immediately and all requests will be executed according to the specific test specification.

By default the CSWT will only record one request per browser session (with state maintained in session storage on the browser). This is usually sufficient to avoid lots of duplicate requests for the same resolver however this can be overloaded using test config (see above).

DNSRF Corporate Logo - words and line shorter version
{item._type | case 'page' 'Web page' 'blog/blog' publication 'adnewsfeed/news' 'News' 'docs/article' 'Docs'}{item.section.title} / {item.chapter.title} / {item.topic.title}  | {category.title}
{item.publishDate | date 'DD MMM YYYY' | append ': '}