You only need 1 data file.

CSV DataSet will read a new line for each user/thread, and for each
loop (if in a loop).

Try it and see


On 04/05/06, Durgs <[EMAIL PROTECTED]> wrote:

sebb <sebbaz <at> gmail.com> writes:

>
> On 02/05/06, Brian Childs <bchilds <at> campuspartners.com> wrote:
> > Thanks for this! I now understand how a Counter with variables can work.
This will be helpful when I have
> test logins set up. Until then, I have a couple of questions about your reply
"replace the Counter with a CSV
> Data Set.":
>
> > 1.) Do you think CSV Data Set is preferred to the User Parameters Pre
Processor I've been trying to use? (If
> CVS works as I think it does, it's going to be much easier because of the ease
of adding userNames & passwords.)
>
> Yes, unless you only have a few users.
>
> > 2.) For CSV Data Set, is this attaching a *.csv Filename in "HTTP Request -
Login" and then adding a
> Parameter Name of "userName,password"?
>
> You need to put the CSV Data Set at the start of the Thread Group, and
> fill in the fields.
>
> No changes needed to the Sampler (unless you use different variable names).
>
> > 3.) For the CSV file, record the first userName & password in A1, B1, the
second in A2, B2?
>
> Yes
>
> > Do I need to add a header row of userName password in the CSV file?
>
> Do not use a header.
>
> > 3.) Can you send me a link of where I can find more info about CSV Data Set
in JMeter?
>
>
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config
>
> >
> > While I've tried a bunch of variations I'm still not able to get CSV to work
(reminder, these tests work if I
> put in the actual userName & password). Here are some of what I've tried:
> >
> > 'HTTP Request - Login'
> >
> >                    Name, Value
> >                1. cmd, Login
> >                2. userName, ${userName} (also tried "userName")
> ${userName} is correct
>
> >                3. password, ${password} (also tried "password")
> >
> >                Send a File With the Request:
> >                Filename: E:\JMeterScripts\Test files\userNamePassword.csv
>
> No, not unless you are POSTing this file
>
> >                Parameter Name: ${userName},${password} (also tried
"userName,password")
>
> Not needed.
>
> > I've tried various CSV files too; below are a few examples:
> >
> >                james13,password
> >                david13,password
> >
> >                userName,password
> >                james13,password
> >                david13,password
> >
> >                ${userName},${password}
> No
> >                james13,password
> >                david13,password
> >
> >                james13,password,david13,password
> >
> >                userName,password,james13,password,david13,password
> >                ${userName},${password},james13,password,david13,password
> No
> >
> > Again, thanks any additional help. I've been working on this for a while and
reading all kinds of posts...
> > BC
>
Hi sebb,
i have a similar but bit complex problem. i need to have 5 threads (simulated
user) and each thread with 3 iterations. so totally, it will be 5 * 3=15 times.
now i need to input different data on 15 iterations. how is this possible.
frm ur previous post, i understood, we can do it for single thread with multiple
iterations. but for multiple threads and multiple iterations, how is this
possible. pls advice.
i know we can have 1 csv file for each thread/user and can input data for 3
iterations in it. so for 5 threads, do u mean we need 5 csv files.
its not feasible for me, as i need to test for 100+ threads. so pls suggest.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to