URLMapTest constructor
const
URLMapTest({})
Creates a new URLMapTest.
description Description of this test case.
expectedOutputUrl The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters.
expectedRedirectResponseCode For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response.
headers HTTP headers for this request.
host Host portion of the URL.
path Path portion of the URL.
service The backend service or backend bucket link that should be matched by this test.
Implementation
const URLMapTest({
this.description,
this.expectedOutputUrl,
this.expectedRedirectResponseCode,
this.headers,
required this.host,
required this.path,
this.service,
});