have done one mobile application using SAPUI5 and service. In that application I have login page. First time when I send the request with wrong credentials it goes to error function and displaying some error message. second time when I enter valid credentials it goes to success function and connected with back end and I can get the records.
But my problem is third time when I again enter into the application with wrong credentials, it doesn't goes to the error function.It directly goes to the success function and I am getting data from back end.
when i am clear the manually app data then working fine
I used the below send as image the username and password to the back end.issue.png