...
Step | Action | Expected system response | Comment | |
1 | In Postman enter: in URL: http://localhost:8080/api/users/forgotPassword?email=test@openlmis.org Method: POST | In console should appears password reset token. | ||
2 | Change password. In Postman enter: In URL: http://localhost:8080/api/users/changePassword Method: POST BODY: { "token": token from console, "newPassword": ... } | |||
3 | Check if the password is changed. In Postman enter: In URL: http://localhost:8080/oauth/token?grand_type=password&username=admin&password=passwordNew Basic authorization: username and password Method: POST
| |||
4 |
|
| ||
5 |
| |||
6 |
| In Postman enter: In URL: http://localhost:8080/api/users?access_token= <generated token> Method: GET | ||
|
---|
Post – conditions:
|