Hi,
I think you can send all the parameters by using post methods including
username and password.
Or
You still choose Method: post in HTTP Request Sampler.
In "Path" you can write like that:
www.aaa.com?usrname=${usrname}&pw=${pw}
and set other parameters in the table "send parameters with request"
For "login session expired " problem, you could put a config element "Http
cookie manager" in your Thread group.
-----Original Message-----
From: benmao ben [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 10:53 AM
To: JMeter Users List
Subject: problem in retrieve username and password thru text file
Hi, I met some problem in JMeter. I need to load username and password from
a text files. Below is my configuration:
|__HTTP request
| |__csv data set config
|__HTTP request
HTTP request: method=get
send parameters with request: usrname={usrname},
pw={pw}, btnSunbmit=YES, maxAttempts=3
CSV data set config:
filename=C:\JMeter-Root\jakarta-jmeter-2.1.1\jakarta-jmeter-2.1.1\bin\text.c
sv
variable name=usrname,pw
delimiter= ,
text.csv file=
alex,pu3dd
limm,ki4f
seei,4hrr
I'm able to retreive username and password from text file thru 'get'
function. But for sign-in page, there are other variables (eg:
btnSunbmit=YES, maxAttempts=3) need to send out as well, however these
variables need to be send out thru 'post' method. I'm unable to do 2
functions(post and get method) at one time, thus i'm experiencing some
difficulties. I've tired various method to login thru the get function, but
it always gives me an error page: login session expired. Can anyone help me
please?
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2ยข/min or less.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]