Hi Ananda, > I wish to do the following : > In a looped HTTP POST you can send a file along with your > request. e.g. the file looks like this - > > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <DeviceDetails> > <DeviceID>device1</DeviceID> > <HostName>My-device</HostName> > </DeviceDetails> > > I want to change the <DeviceID>device1</DeviceID> to device2, device3,... > for each new thread I am spawning, i.e for each connection to the server I > am testing.
So you want to send different file with subsequent request... Impossible thing I think. The only way I can see about it is to: - prepare n files for n threads with appropriate content (<DeviceID>devicen</DeviceID>). You could do it pretty easy with perl or something like that - patch jMeter to accept variables in filenames. You could set filename to /foo/bar/myfile${__threadnum}.xml. It's nice improvement, so If you want it that way I may try to do it today evening (however I cannot promise anything). Also you may want try to do it by yourself (source code is available). Please tell me what you decided. best regards Michal Kostrzewa -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>