Hi Ananda,
> I really appreciate the help you are providing.
> Please let me know the process I have to follow upon receiving the patch
> from you.
Two good things:
You can do what you want on 2 ways:
1) the first way is the same I told you, with small update: it works already
without patching jMeter (thanks to Mike Stover for info :-))
If you want to test 100 threads you should do 100 files with appropriate
<DeviceID>pix-devicenumber</DeviceID>
Name the files as test1.xml test2.xml ... test100.xml
and in HTTPSampler, in filename field type something like that:
/foo/bar/test${__threadNum}.xml
The variable ${__threadNum} is set to number of current thread
BUT
2) I have created a patch which simplifies things a lot. The patch makes it
possible to insert variables IN the file, so you can have ONE file test.xml
with content:
<DeviceID>pix-device${__threadNum}</DeviceID>
and file path just set to
/foo/bar/test.xml
You can download the patch from jmeter bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15468
It's attached here as well as additional use and devel comments.
The patch should be applied to the newest cvs version - I assume you can
access the cvs and know how to apply patches. If you don't know and can't
find the answers don't hesitate to ask (but I may be unreachable today)
best regards
Michal Kostrzewa
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>