This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi all, I have installed the jmeter and done the recording,which recorded the steps that i want jmeter to repeate and load test my database,i used the user parameter option to set multiple user with different values but there is also a alternative to it by specifying the file name conatining the list of values instead of entering the names individually in the user parameter option. all works fine but user parameter option doens't work with the filename,it works fine when i individually specify each user I am having great problem as i want to test database with 1000 of different values. please Help, Thanx to you all in advance, VS
Dear Vijay, I am also having same requirement but as per my knowledge Jmeter reads the only first value from a file . I think this is a bug in Jmeter which u can see it from Bug report section of Apache of Jmeter. rgds, siddharth
SCJP1.4<br />IBM Certified System Administrator -- WebSphere Application Server V5.0 (340)
Vijay - I had the same problem, try the options --> function helper dialog to generate your files parameter reading at the end of the record don't forget to call the 'next' below is an example of reading generated script to paste for reading a CSV file having 2 values / line.
Dear All, I have some good idea for generating dynamic parameter in Jmeter. Download latest Jmeter and there is a users.xml or server.xml (just check with the filename. i dont remember it right now ) file in jmeter bin directory . now this file contains the user parameter options where you can add different values for same parameter . I would suggest to write a File io java program for this ,if the number of users are more . Now start Jmeter and select your test case , then right click and add User Parameter. After that add the Http request default and add the parameter in this console but dont provide any value for it. That's it run the test case. I hope this helps....
Hi, I have been using __CSVRead(..) to read the user defined parameters from a data file for JMeter. My requirements is such that i have more number of records in file than the number of threads and i want to use diff data for each iteration of the thread. e.g In my data file i have 1000 records and JMeter has 100 threads running 5 times. Typically when u read external data file using __CSVRead , it reads first 100 records. In next iteration file pointer is again moved to BOF . So in eahc iteration threads use the same data. What my requirement is, in the first iteration first 100 records should be read . In second iteration the threads should use data from 101 records onwards and so on till all the samples are spawned. If anyone has pointers on this, pl inform. Thanks, Priya