diff --git a/tests/integration/targets/elb_application_lb/tasks/test_multiple_actions.yml b/tests/integration/targets/elb_application_lb/tasks/test_multiple_actions.yml index b04024811a0..19675e1c6a4 100644 --- a/tests/integration/targets/elb_application_lb/tasks/test_multiple_actions.yml +++ b/tests/integration/targets/elb_application_lb/tasks/test_multiple_actions.yml @@ -175,6 +175,22 @@ - Type: fixed-response FixedResponseConfig: "{{ FixedResponseActionConfig }}" Rules: + - Conditions: + - Field: http-header + HttpHeaderConfig: + Field: 'User-Agent' + Values: ['*Trident/7:0*rv:*'] + - Field: http-header + HttpHeaderConfig: + Field: 'X-Something' + Values: ['foobar'] + Priority: '1' + Actions: + - Type: fixed-response + FixedResponseConfig: + StatusCode: "200" + ContentType: "text/html" + MessageBody: "Hello World!" - Conditions: - Field: path-pattern Values: @@ -227,6 +243,22 @@ - Type: fixed-response FixedResponseConfig: "{{ FixedResponseActionConfig }}" Rules: + - Conditions: + - Field: http-header + HttpHeaderConfig: + HttpHeaderName: 'User-Agent' + Values: ['*Trident/7:0*rv:*'] + - Field: http-header + HttpHeaderConfig: + HttpHeaderName: 'X-Something' + Values: ['foobar'] + Priority: '1' + Actions: + - Type: fixed-response + FixedResponseConfig: + StatusCode: "200" + ContentType: "text/html" + MessageBody: "Hello World!" - Conditions: - Field: path-pattern Values: