add cases0

This commit is contained in:
yinle 2014-05-27 14:40:35 -07:00
parent 2aabbf40e6
commit 1179350392

View File

@ -0,0 +1,40 @@
start:post_dns
description: post_dns
cmd:restapitest -m POST -r /services/dns
check:rc==201
end
start:post_dhcp
description: post_dhcp
cmd:restapitest -m POST -r /services/dns
check:rc==201
end
start:post_host
description: post_host
cmd:restapitest -m POST -r /services/host
check:rc==201
end
start:post_host
description: post_host
cmd:restapitest -m POST -r /services/host
check:rc==201
end
start:get_slpnodes
description: get_slpnodes
cmd:restapitest -m GET -r /services/slpnodes
check:rc==200
cmdcheck:restapitest -o '{"ngpcmm01":{"mpa":"ngpcmm01"}}' -O ==
end
start:get_slpnodes_withst
description: get_slpnodes_withst
cmd:restapitest -m GET -r /services/slpnodes/FSP
check:rc==200
cmdcheck:restapitest -o '{"Server--SNY014BG27A01K":{"mpa":"Server--SNY014BG27A01K"}}' -O ==
end