while conditioned to csv dataset.

2007-01-09 Thread Alexander Wallace
How can i know when a csv dataset has reached eof so that a while loop stops? Thanks in advance! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: intro and question about jdbc load tests

2007-01-09 Thread Alexander Wallace
Thanks a lot for pointing to me the right path! On Jan 9, 2007, at 2:10 PM, sebb wrote: On 09/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote: Hi all! New to the list here so please be patient ;) I need to write a load test against a mysql database... I have obtained queries created by our

Re: read URL's from file

2007-01-09 Thread Alexander Wallace
I guess a while loop should do the trick too once i know how to tell if the EOF has been reached. On Jan 9, 2007, at 4:18 PM, chris wrote: Will give it a try, thnx a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: read URL's from file

2007-01-09 Thread chris
Will give it a try, thnx a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: read URL's from file

2007-01-09 Thread Alexander Wallace
I think this worked, and it was a lot easier: 1 added a loop controller and set the loop count to the line count of my file (maybe that can be set dynamically too), then added the sampler and a csv dataset reader to the loop controller, it seems to do exactly what i want! Should do the tric

Re: read URL's from file

2007-01-09 Thread Alexander Wallace
Probably, tho I'm thingking that using the ${_CSVRead(c:/BOF/abcd.csv, 0)} (if it is still valid as I'm only reading some docs) in conjuction with ${_CSVRead(c:/BOF/abcd.csv,next())}, all this in a loop of some sort, may do the trick ... I'll see if i can make it do it in a bit... On Jan 9

Re: read URL's from file

2007-01-09 Thread chris
This indeed is the exact situation. Maybe it can be solved by using BeanShell scripting? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: read URL's from file

2007-01-09 Thread Alexander Wallace
Sorry, I don't have the answer, but It sounds exactly like what i need to do, except with jdbc calls... To make sure: You have one single HTTP sampler and want to grab the url from a file, have that sampler hit all the urls in the file, but have only one thread in your test So that if y

read URL's from file

2007-01-09 Thread chris
Hi all, I have a big file with URL's that I would like Jmeter to request one by one. If I have 1 thread and a loop count of 1 it should go over all the URL's from the file. Is this possible and any ideas on how this can be done? A simple example would be great. Thnx in advance, Chris ---

Re: intro and question about jdbc load tests

2007-01-09 Thread Alexander Wallace
Thanks a lot for the quick response! Please see below. Why not just use CSV Dataset to pass in the query details? The file can be as big as you like, and you can use the variables in the JDBC sampler. The JDBC Sampler allows the Query Type to be a variable, so you can even mix SELECTs and UP

Re: intro and question about jdbc load tests

2007-01-09 Thread sebb
On 09/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote: Hi all! New to the list here so please be patient ;) I need to write a load test against a mysql database... I have obtained queries created by our application, i logged all queries generated by a regression test. It would be fairly simp

intro and question about jdbc load tests

2007-01-09 Thread Alexander Wallace
Hi all! New to the list here so please be patient ;) I need to write a load test against a mysql database... I have obtained queries created by our application, i logged all queries generated by a regression test. It would be fairly simple to write a small program to generate the xml that