summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/appc/testsuite/APPC_Netstat.robot
diff options
context:
space:
mode:
authorNGUYEN <pn8984@att.com>2017-09-11 14:13:51 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-09-11 22:43:51 +0000
commit01925891c033007b29f7afb1a71a91c61e91b96c (patch)
treea99b8024338fa94e38ad40708b5603be5a1f4746 /test/csit/tests/appc/testsuite/APPC_Netstat.robot
parent24f96274000828229ccde75aa520e534c48d2480 (diff)
APPC ONAP Scripts
Change-Id: Idbad175df1df1c49df22f6c5af2dbf9d311c8873 issue-ID=APPC-193 Signed-off-by: NGUYEN <pn8984@att.com>
Diffstat (limited to 'test/csit/tests/appc/testsuite/APPC_Netstat.robot')
-rw-r--r--test/csit/tests/appc/testsuite/APPC_Netstat.robot19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/csit/tests/appc/testsuite/APPC_Netstat.robot b/test/csit/tests/appc/testsuite/APPC_Netstat.robot
new file mode 100644
index 000000000..5544fb565
--- /dev/null
+++ b/test/csit/tests/appc/testsuite/APPC_Netstat.robot
@@ -0,0 +1,19 @@
+*** Settings ***
+Library SSHLibrary
+Library OperatingSystem
+*** Variables ***
+${HOST} 104.130.138.49
+${USERNAME} test
+${private_key} H:\\TestSuite\\testsuite\\robot\\testsuites
+*** Test Cases ***
+APPC Netstat
+ Open Connection ${HOST}
+ ${password}= Get File ${private_key}
+ Login ${USERNAME} ${password}
+ log to console \nConnected Successfully
+ ${cmd} = set variable netstat -a | grep -E '8443 | grep LISTEN
+ execute command ${cmd}
+
+Tear Down
+ [Documentation] Close all connections
+ Close All connections \ No newline at end of file