@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% |
Scenario: An Ingress with path rules and cookie should send traffic to the matching backend service
(exact /, cookie, header matches request / with cookie and header)
check_circle
check_circle
check_circle
And
6s
The Ingress status shows the IP address or FQDN where it is exposed
check_circle
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
Scenario: An Ingress with path rules and cookie should send traffic to the matching backend service
(exact /, cookie matches request / with cookie)
check_circle
check_circle
check_circle
And
6s
The Ingress status shows the IP address or FQDN where it is exposed
check_circle
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
Scenario: An Ingress with path rules and cookie should send traffic to the matching backend service
(exact /, cookie matches request / with cookie)
check_circle
check_circle
check_circle
And
6s
The Ingress status shows the IP address or FQDN where it is exposed
check_circle
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
Scenario: An Ingress with path rules and cookie should send traffic to the matching backend service
(exact /, cookie matches request / with cookie)
check_circle
check_circle
check_circle
And
3s
The Ingress status shows the IP address or FQDN where it is exposed
check_circle
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