Feature: provisioning Background: Given using api version "1" Scenario: Getting an not existing user Given As an "admin" When sending "GET" to "/cloud/users/test" Then the status code should be "998" Scenario: Listing all users Given As an "admin" When sending "GET" to "/cloud/users" Then the status code should be "100" Scenario: Create a user Given As an "admin" And user "brand-new-user" does not exist When sending "POST" to "/cloud/users" with | userid | brand-new-user | | password | 123456 | Then the status code should be "100" And user "brand-new-user" exists Scenario: Edit a user Given As an "admin" And user "brand-new-user" exists When sending "PUT" to "/cloud/users/brand-new-user" with | key | quota | | value | 12MB | | key | email | | value | brand-new-user@gmail.com | Then the status code should be "100" And user "brand-new-user" exists Scenario: Delete a user Given As an "admin" And user "brand-new-user" exists When sending "DELETE" to "/cloud/users/brand-new-user" Then the status code should be "100" And user "brand-new-user" does not exist Scenario: Create a group Given As an "admin" And group "new-group" does not exist When sending "POST" to "/cloud/groups" with | groupid | new-group | | password | 123456 | Then the status code should be "100" And group "new-group" exists Scenario: Delete a group Given As an "admin" And group "new-group" exists When sending "DELETE" to "/cloud/groups/new-group" Then the status code should be "100" And group "new-group" does not exist