Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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": ... }

Image Added

 
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

 

Image Added

 
4

 

 

 
5 

 

 
6

 

 

 

 

Post – conditions: