...
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 |
| 3 |
| 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 |
|
| ||||||
|
---|
Post – conditions:
|