Unanswered question

How to handle OTP during login in the application?

I have an application, where after entering UserName, Password and clicking on Login button, a unique number has been sent to that particular user mobile. To proceed further, user has to enter that particular unique number to login. As this number is generated every time on login and is valid for only a certain time, how can we handle it during our performance test?

Ankur S.
Ankur S.

Ankur S.

Level
1
102 / 750
points

Answers

moulali N.
moulali N.

moulali N.

Level
0
11 / 100
points

Hello Ankur S,

OTP can't be handled by NeoLoad, You have to make sure that disabling OTP authentication of the application during the Performance testing phase. Later you can restore the OTP authentication feature.

Usually, in testing phase OTP authentication/secondary authentication will be disabled.

so, there is another way we can bypass the OTP, to do that developers have to change the application code to accept any code that enters as an OTP.