Hi,
the threadNum function will be of help to you:
http://jakarta.apache.org/jmeter/usermanual/functions.html#__threadNum
You will probably want to use something like msg_no${__threadNum}.xml
for your file name.
HTH,
Felix
On 09/03/10 11:48, Aleksandar Stoisavljevic wrote:
> Hi all,
>
> I was wondering if someone can help me in building following UseCase
> scenario:
>
> I want to have 10 HTTP requests (simulating 10 users) that is trying to send
> 10 different XML files using HTTP POST method.
>
> I want to stress test application, reaching peak of 10 users using web
> application at one time.
>
>
> To give you more info where I am stucked, see following what I have done
> until now:
>
> 1. I have created one 'Thread Group' and entered Number of Threads (users) :
> 10, Ramp-Up Period: 0 (I want to send all messages at once)
>
> 2. All requests will be sent to same server, same servlet so I have added
> 'HTTP Request Defaults'. I filled up fields: 'Server name', 'Port' and
> 'Path'. That won't change.
>
> 3. Then I have added Recording Controller and added one HTTP Request
> Sampler. I've set the Method 'POST'. Now we are comming to the point.
> At the bottom of HTTP Request screen there is option to add 'Sending files
> with Request:'. But for different Users this file will be different. e.g
> on file system I prepared those files msg_no1.xml, msg_no2.xml, .etc
> Is it possible to assign different files to different threads ?
>
> any help would be appreciated
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]