Priya Soparkar

Greenhorn
+ Follow
since Apr 28, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Priya Soparkar

Hi,
Here is the link for basic example of Apache Torque configuration

http://users.volja.net/amanita1/#GetTorque

Hope this helps,

Thanks,
Priya
Well , the major diff between using an IDE and compiling the java resources from say command prompt is setting the classpath entries.

When you use some IDE(e.g Eclipse), the IDE takes care of the classpath and environment entries.
Like the JDK path etc is taken care when u install the IDE and specify the JDK path for the first time.

But for external dependent jar files , we need to add them in the build classpath entries in the IDE.

e.g When you are writing a servlet using an IDE, for compiling your servlet class , you need to put your servlet.jar file in your Add external libraries (dependencies )tab.

Wheread when you try to compile your java resource from command line ,here your servket class , you need to set the complete servlet.jar path in your environment entries (as classpath)and compile your servlet class like any other java resouce.

Hope this helps ,

Thanks,
Priya
19 years ago
Hi,
To add something more to above comment, when u directly call
thread.run() and u have implementation of your run method , the JVM will treat this "run" method as any other method in the class (but not like the thread's "run" method.) So even if you get the output which is printing some stuff in your run method (exactly like the thread execution), this does not use the Thread funcionality .

Whereas when the user creates a new java thread and calls thread.run() , the JVM internally allocated an Operating system thread , does some other OS level processing for you and internally calls "run" method as a callback method.

So, for executing the above functionality as a thread , u must call thread.start instead of calling run method directly.

Thanks,
Priya
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
19 years ago