Vugen script passed with incorrect credentials
Im facing a problem while replaying the HTTP vugen script in loadrunner.
Script is successfully passing with wrong credentials, in fact passing with out credentials.
Credentials are supplied while recording.
Pls advise on this.
i'm not sure i understand the problem. You have recorded a script in which you login to a webapplication. And after recording the script does replay fine with the login credentionals? Do you have a web_set_user in the script? Are you sure the script replays ok, can you check output and see that you are actually logged in the site?
PLs find my answers below.
And after recording the script does replay fine with the login credentionals? - Yes, but when i modify the credentials in the script it should fail instead the script is getting passed and i even tried to make the username and password field blank in the script still it is getting passed.
Do you have a web_set_user in the script? - No
Are you sure the script replays ok, can you check output and see that you are actually logged in the site? - How do i check from the output.
There's an option in the replay with vugen by which you can see the output.
Tools / Options / Scripting / Replay - Show runtime viewer during runtime.
If you use that then during replay you must see a browser screen in which the replay occurs. Then you can check if you are logged in. Scripts pass when a HTTP 200 returns from the server. If you cannot login then you probably get an error screen from the application. This registers as an HTTP 200, because the error page is succesfully loaded.