@annotations @route.header @router.cookie @release-1.22

Feature: Priority rules

An Ingress may define routing rules based on the request path. If the HTTP request path matches the paths and cookie info in the Ingress objects, the traffic is routed to its backend service.

Scenarios
Status Progress

Passed

100.00%

Failed

0.00%
check_circle
Given 10s an Ingress resource in a new random namespace +Show Parameter
check_circle
And 5s an Ingress resource in a new random namespace +Show Parameter
check_circle
And 6s The Ingress status shows the IP address or FQDN where it is exposed
check_circle
When 0s I send a GET request to http://same-host-same-path-num-diff/ with header +Show Parameter
check_circle
Then 0s the response status-code must be 200
check_circle
And 0s the response must be served by the service-match 2 service
check_circle
Given 5s an Ingress resource in a new random namespace +Show Parameter
check_circle
And 5s an Ingress resource in a new random namespace +Show Parameter
check_circle
And 6s The Ingress status shows the IP address or FQDN where it is exposed
check_circle
When 0s I send a GET request to http://same-host-same-path-num-diff/ with header +Show Parameter
check_circle
Then 0s the response status-code must be 200
check_circle
And 0s the response must be served by the service-match 1 service
check_circle
Given 5s an Ingress resource in a new random namespace +Show Parameter
check_circle
And 10s an Ingress resource in a new random namespace +Show Parameter
check_circle
And 6s The Ingress status shows the IP address or FQDN where it is exposed
check_circle
When 0s I send a GET request to http://same-host-same-path-num-diff/ with header +Show Parameter
check_circle
Then 0s the response status-code must be 200
check_circle
And 0s the response must be served by the service-match 1 service
check_circle
Given 5s an Ingress resource in a new random namespace +Show Parameter
check_circle
And 10s an Ingress resource in a new random namespace +Show Parameter
check_circle
And 3s The Ingress status shows the IP address or FQDN where it is exposed
check_circle
When 0s I send a GET request to http://same-host-same-path-num-same/ with header +Show Parameter
check_circle
Then 0s the response status-code must be 200
check_circle
And 0s the response must be served by the service-match 2 service