"UpdateUser" web service
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
Scenario 1: Updating a user using the 'User Management' web service
Specific Setup:
- Have a system configured to use Netsmart's "(NIAM) Netsmart’s Identity and Access Management" functionality
- In form "User Definition":
- User [UserA] is set with prompt 'Use External Login' to 'Yes' and an external user ID populated in field in 'External Login ID'
- User [UserA] is assigned to a user role with "SQL" table access
- User [UserB] is set with prompt 'Use External Login' to 'No' and is assigned to any desired user role
- Have access to form "Change User ID"
- Have access to program "SoapUI" to execute web services
- Have the web service "WEBSVC.UserManagement" imported and the "UpdateUser" request populated with the required fields to update an existing user
Steps
- Open "SoapUI"
- Navigate to the "WEBSVC.UserManagement" web service
- Locate the "<UserID>" field in the "UpdateUser" request configured in the set up
- Populate the field with [UserA]
- Change the current value in the "<User Description>" field to a different value [NewValueA]
- Change the value of a second field, for example "Warn Non Caseload Access" to a new value [NewValueB]
- Click the "Submit Request" arrow to execute the web service
- Validate the message 'User USERA successfully updated', is displayed as expected
- Open form "User Definition"
- Select [UserA]
- Validate the "User Description" field contains the new value [NewValueA], updated via web service
- Validate the field "Warn if User Attempts Non Caseload Access" is set to [NewValueB], updated via the web service
- Open form "Change User ID"
- Select [UserB] in the "User" Field
- Populate the "New User ID" field with a new ID [UserC]
- Submit the form
- Validate the form files successfully
- Open form "User Definition"
- Select [UserB]
- Validate the field "Deactivate User" is checked
- Validate only the "User Description" field is enabled on the form
- Navigate back to the "WEBSVC.UserManagement" web service
- Locate the "<UserID>" field in the "UpdateUser" request configured in the set up
- Populate the field with [UserB]
- Change the current value in the "<User Description>" field to a different value [NewValueA]
- Change the value of a second field, for example "Warn Non Caseload Access" to a new value [NewValueB]
- Click the "Submit Request" arrow to execute the web service
- Validate message 'User USERB successfully updated', is displayed
- Open form "User Definition"
- Select [UserB]
- Validate the "User Description" field contains the new value [NewValueA], updated via web service
- Validate the field "Warn if User Attempts Non Caseload Access" is not set to its original valued, as only the "User Description" field can be updated for deactivated users
- Navigate back to the "WEBSVC.UserManagement" web service
- Locate the "<UserID>" filed in the "UpdateUser" request configured in the set up
- Populate the field with the [UserC]
- Change the current value in the "<User Description>" field to a different value [NewValueA]
- Change a value of a second field, for example "Warn Non Caseload Access" to a new value [NewValueB]
- Click the "Submit Request" arrow to execute the web service
- Validate message "User USERC successfully updated", is displayed
- Open form "User Definition"
- Select [UserC]
- Validate the "User Description" field contains the new value [NewValueA], updated via web service
- Validate the field "Warn if User Attempts Non Caseload Access" is set to [NewValueB], updated via the web service
|
Topics
• Web Services
|