423: Users

 Test Case #:423

Test Case Name: Users

System: OpenLMIS

Subsystem:requisition

Test case designed by: Paulina Borowa

Design Date:15.07.2016

Short description

Allows addition of new users and editing of user information

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       


Step 

Action

Expected system response

Comment

1

                                                                              

Create User enity.

In Url: http://localhost:8080/api/users

Method: Post

Body:

{

"username":"Name",

"firstName":"FName",

"lastName":"Lname",

"active":"false",

"verified":"false"

}

                                                                                        

Status 201 Created

user id: "0eb5e3d0-d006-424d-a299-8fe4821c122a"

                                                 

2

Editing of user information.

In Url: http://localhost:8080/api/users

Method: Post

Body:

{

"id":"0eb5e3d0-d006-424d-a299-8fe4821c122a",

"username":"Name1",

"firstName":"FName1",

"lastName":"Lname1",

"active":"true",

"verified":"true"

}

 

Status 201 Created

 

OpenLMIS: the global initiative for powerful LMIS software