jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <wool...@gmail.com>
Subject Re: how to pass in username and password for load testing?
Date Mon, 15 Nov 2004 15:27:18 GMT
is the authentication form based or http protcol based.

in other words.  is the username passed as request parameters, or
basic authentication?


peter



On Mon, 15 Nov 2004 10:24:42 -0500, Li, Charles
<charles.li@dep.state.fl.us> wrote:
> I have a sample application that I want to use for load test with JMeter.
> How do I pass in username and password to test pages that are protected by
> authentication?
> 
> In the source, I have the following:
> ====================================
>   if( frm.j_username.value == "" ) {
>     alert("Please enter your Username");
>     frm.j_username.focus();
>     return ;
>   }
> 
>   if( frm.j_password.value == "" ) {
>     alert("Please enter your password");
>     frm.j_password.focus();
>     return ;
> ====================================
> 
> I added the following parameter:
> frm.j_username.value=electowner
> frm.j_password.value=welcome
> 
> But, first I want to test that it actually reads the username and password,
> so I did this:
> 
> I try it on the browser and it did not read the username and password.
> (http://server:port/vsm/authownerhome.do?frm.j_username.value=electowner&frm.
> j_password.value=welcome)
> 
> How should I pass in the username and password?
> 
> Thanks,
> Charles Li
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message