You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "mr_1978@juno.com" <mr...@juno.com> on 2007/02/05 00:02:01 UTC
xml/soap request sampler message folder file selection
Hi All,
I'm using Jmeter to test webservices using the SOAP/XML Request sampler
and am sending multiple files via the message folder feature. It works
great, but the question that I have is since it's selecting files
randomly, does it possibly select the same file twice or three times?
I'm trying to have the files that are in the folder only be sent once.
ie. If I have the thread looping 100 times and there are 100 files in
the folder that I'm pointing to, each file gets selected only once for
submission.
Is this a feature in the properties that can be set or is there a
plugin that can make this possible? I've been using google to try and
find answers but haven't had any luck.
Thanks,
Aaron
________________________________________________________________________
Interested in getting caught up on today's news?
Click here to checkout USA TODAY Headlines.
http://track.juno.com/s/lc?s=198954&u=http://www.usatoday.com/news/front.htm?csp=24
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: xml/soap request sampler message folder file selection
Posted by sebb <se...@gmail.com>.
On 04/02/07, mr_1978@juno.com <mr...@juno.com> wrote:
> Hi All,
>
> I'm using Jmeter to test webservices using the SOAP/XML Request sampler
> and am sending multiple files via the message folder feature. It works
> great, but the question that I have is since it's selecting files
> randomly, does it possibly select the same file twice or three times?
That's random selection for you ... what you are asking is for a
random ordering of the files, which is different.
The code picks a random entry from the list of files.
It does not remove the file from the list, so it may be picked again.
> I'm trying to have the files that are in the folder only be sent once.
> ie. If I have the thread looping 100 times and there are 100 files in
> the folder that I'm pointing to, each file gets selected only once for
> submission.
>
> Is this a feature in the properties that can be set or is there a
> plugin that can make this possible? I've been using google to try and
> find answers but haven't had any luck.
Create a file containing the names of the files you want to send, and
then read this file into a variable using CSVDataSet.
> Thanks,
>
> Aaron
>
>
> ________________________________________________________________________
> Interested in getting caught up on today's news?
> Click here to checkout USA TODAY Headlines.
> http://track.juno.com/s/lc?s=198954&u=http://www.usatoday.com/news/front.htm?csp=24
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org