add cases0

This commit is contained in:
yinle 2014-05-27 14:39:11 -07:00
parent a98946efdd
commit 926221ee07

View File

@ -0,0 +1,36 @@
start:get_group_list
description: get_group_list
cmd:restapitest -m GET -r /groups
check:rc==200
cmdcheck:restapitest -o '["all"]' -O ==
end
start:get_group_all
description: get_group_all
cmd:restapitest -m GET -r /groups/all
check:rc==200
cmdcheck:restapitest -o '{"all":{"members":"virtualcn2"}}' -O ==
end
start:put_group_all
description: put_group_all
cmd:restapitest -m PUT -r /groups/all -d '{"mgt":"dfm","netboot":"yaboot"}'
check:rc==200
end
start:get_group_all_for_put
description: get_group_all_for_put
cmd:restapitest -m GET -r /groups/all
check:rc==200
cmdcheck:restapitest -o '{"all":{"netboot":"yaboot"}}' -O ==
end
start:get_group_all_attrs
description: get_group_all_attrs
cmd:restapitest -m GET -r /groups/all/attrs/mgt,netboot
check:rc==200
cmdcheck:restapitest -o '{"all":{"netboot":"yaboot"}}' -O ==
end