diff --git a/agents/httpagent_it_test.go b/agents/httpagent_it_test.go index 7be102b5d..783cf2e28 100644 --- a/agents/httpagent_it_test.go +++ b/agents/httpagent_it_test.go @@ -167,6 +167,7 @@ func testHAitAuthDryRun(t *testing.T) { eXml := []byte(` 1 + 234/Val1 1200 `) if body, err := ioutil.ReadAll(rply.Body); err != nil { diff --git a/data/conf/samples/httpagent/httpagent.json b/data/conf/samples/httpagent/httpagent.json index adb0d1839..f279138d7 100644 --- a/data/conf/samples/httpagent/httpagent.json +++ b/data/conf/samples/httpagent/httpagent.json @@ -21,6 +21,10 @@ "reply_fields":[ {"tag": "Allow", "field_id": "response.Allow", "type": "*constant", "value": "1", "mandatory": true}, + {"tag": "Concatenated1", "field_id": "Concatenated", "type": "*composed", + "value": "~*req.MCC;/", "mandatory": true}, + {"tag": "Concatenated2", "field_id": "Concatenated", "type": "*composed", + "value": "Val1"}, {"tag": "MaxDuration", "field_id": "response.MaxDuration", "type": "*constant", "value": "1200", "blocker": true}, {"tag": "Unused", "field_id": "response.Unused", "type": "*constant",