diff options
Diffstat (limited to 'test/csit/scripts/dmaap-buscontroller/init-mock-mrc.sh')
-rwxr-xr-x | test/csit/scripts/dmaap-buscontroller/init-mock-mrc.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/csit/scripts/dmaap-buscontroller/init-mock-mrc.sh b/test/csit/scripts/dmaap-buscontroller/init-mock-mrc.sh new file mode 100755 index 000000000..75c1a419a --- /dev/null +++ b/test/csit/scripts/dmaap-buscontroller/init-mock-mrc.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# $1 is the IP address of the MRC (MR Central) mock server + +curl -v -X PUT -d @- http://$1:1080/expectation << EOF +{ + "httpRequest": { + "method": "GET", + "path": "/hello" + }, + "httpResponse": { + "body": "Hello world!", + "statusCode": 200 + } +} +EOF + |