You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sutailga <ce...@free.fr> on 2006/12/04 10:52:46 UTC

how to use a changing incoming file with JMeter

Hello,

I've been trying for a few days to do stress tests on webservices, but I met
a problem : My webservices have to take as an incoming parameter XML files
what change in each thread, as they write in a database and won't work if
the same file is used twice.

The problem is that I don't know at the time how I can configure JMeter to
take my files in the appropriate order and thus works as the application
needs to be testes.

Can Somebody help my to configure my test plan ?

Thanks
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7673155
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.
Hello,

One more question : is there a way I can make the webservice sampler use a
.bat file instead of the XmlIn ? This would allow us to write a tool what
would generate as many files as wanted without having to put the name in the
CSV Data Configuration.

Thanks
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7735198
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#WebService(SOAP)_Request

On 06/12/06, Sutailga <ce...@free.fr> wrote:
>
> when I try to launch my tests, I have the following answer :
>
> Thread Name: test webservice 1-1
> Sample Start: Thu Jan 01 01:00:00 CET 1970
> Load time: 0
> HTTP response code: 000
> HTTP response message: Root element of a SOAP message must be:
> 'http://schemas.xmlsoap.org/soap/envelope/:Envelope'.
>
> HTTP response headers:
>
> Could some explain me how to solve the problem ?
>
> Thanks
> --
> View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7715322
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.
when I try to launch my tests, I have the following answer :

Thread Name: test webservice 1-1
Sample Start: Thu Jan 01 01:00:00 CET 1970
Load time: 0
HTTP response code: 000
HTTP response message: Root element of a SOAP message must be:
'http://schemas.xmlsoap.org/soap/envelope/:Envelope'.

HTTP response headers:

Could some explain me how to solve the problem ?

Thanks
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7715322
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
You can put them anywhere you like, so long as you give the correct
path in the sampler.

On 06/12/06, Sutailga <ce...@free.fr> wrote:
>
> thanks for the answer on the topic. I have one more question : Do I have to
> put the xml files in a specific directory or just in the bin of my JMeter
> configuration ?
> --
> View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7715283
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.
thanks for the answer on the topic. I have one more question : Do I have to
put the xml files in a specific directory or just in the bin of my JMeter
configuration ?
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7715283
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.
I'll try this way, thanks
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7720395
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
On 08/12/06, Sutailga <ce...@free.fr> wrote:
>
>
> sebb-2 wrote:
> >
> > Are there any error messages in jmeter.log?
> >
> > It might be worth changing the file path to
> >
> > C:/Charge/CreerDepot_XML_entrants/
> >
> > because Java can be funny about \ characters in file names.
> >
> So I changed my parameters to put / intead of \ in both my paths (in the CSV
> Data Set and the sampler) and it still doesn't work. Here is what the
> jmeter.log files tells me :
>
> 2006/12/08 16:38:15 INFO  - jmeter.engine.StandardJMeterEngine: Starting 30
> threads for group test webservice. Ramp up = 9.
> 2006/12/08 16:38:15 INFO  - jmeter.engine.StandardJMeterEngine: Continue on
> error
> 2006/12/08 16:38:15 INFO  - jmeter.threads.JMeterThread: Thread test
> webservice 1-1 started
> 2006/12/08 16:38:15 INFO  - jmeter.services.FileServer: Stored:
> C:/Charge/CSV_depots_entrants.txt

This has worked then.

> 2006/12/08 16:38:15 WARN  - jmeter.protocol.http.sampler.WebServiceSampler:
> Root element of a SOAP message must be:
> 'http://schemas.xmlsoap.org/soap/envelope/:Envelope'.

Please re-read my previous e-mail.

> 2006/12/08 16:38:15 INFO  - jmeter.threads.JMeterThread: Thread test
> webservice 1-1 is done
> 2006/12/08 16:38:15 INFO  - jmeter.engine.StandardJMeterEngine: Ending
> thread 0
>
> --
> View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7759688
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.

sebb-2 wrote:
> 
> Are there any error messages in jmeter.log?
> 
> It might be worth changing the file path to
> 
> C:/Charge/CreerDepot_XML_entrants/
> 
> because Java can be funny about \ characters in file names.
> 
So I changed my parameters to put / intead of \ in both my paths (in the CSV
Data Set and the sampler) and it still doesn't work. Here is what the
jmeter.log files tells me :

2006/12/08 16:38:15 INFO  - jmeter.engine.StandardJMeterEngine: Starting 30
threads for group test webservice. Ramp up = 9. 
2006/12/08 16:38:15 INFO  - jmeter.engine.StandardJMeterEngine: Continue on
error 
2006/12/08 16:38:15 INFO  - jmeter.threads.JMeterThread: Thread test
webservice 1-1 started 
2006/12/08 16:38:15 INFO  - jmeter.services.FileServer: Stored:
C:/Charge/CSV_depots_entrants.txt 
2006/12/08 16:38:15 WARN  - jmeter.protocol.http.sampler.WebServiceSampler:
Root element of a SOAP message must be:
'http://schemas.xmlsoap.org/soap/envelope/:Envelope'. 
2006/12/08 16:38:15 INFO  - jmeter.threads.JMeterThread: Thread test
webservice 1-1 is done 
2006/12/08 16:38:15 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 0 

-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7759688
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
On 08/12/06, Sutailga <ce...@free.fr> wrote:
>
> I tried with this content in the filename area :
>
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete000.xml
> instead of
> C:\Charge\CreerDepot_XML_entrants\${XmlIn}
>
> which file doesn't exist (I numbered my files from CreerDepotRequete001.xml
> to CreerDepotRequete030.xml for the first test) and I get the same error.

Are there any error messages in jmeter.log?

It might be worth changing the file path to

C:/Charge/CreerDepot_XML_entrants/

because Java can be funny about \ characters in file names.


> Is it possible the test doesn't work because JMeter waits for a specific tag
> at the beginning of the XML files ? here are the first 3 lines of one of my

No - JMeter does not read the contents of the files.


> files just as an information (I can't give more because of the data security
> policy in my company)
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ListeCreerDepotRequete>
>        <CreerDepotRequete>
>                <idDepot>CECILE00001C11D0A76500A0C91E6BF6</idDepot>
>
> This parameter idDepot is the one we have to put as a primary key in the
> database and makes us use different XMLs for each thread
>

I suggest you try to get the contents of the request correct in the
text box on the screen first, and then transfer the whole contents to
a file.

The above XML does not have a SOAP envelope - see

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#WebService(SOAP)_Request


> Thanks
>
> Cécile
> --
> View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7758134
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.
I tried with this content in the filename area : 

C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete000.xml 
instead of 
C:\Charge\CreerDepot_XML_entrants\${XmlIn}

which file doesn't exist (I numbered my files from CreerDepotRequete001.xml
to CreerDepotRequete030.xml for the first test) and I get the same error.

Is it possible the test doesn't work because JMeter waits for a specific tag
at the beginning of the XML files ? here are the first 3 lines of one of my
files just as an information (I can't give more because of the data security
policy in my company)

<?xml version="1.0" encoding="UTF-8"?>
<ListeCreerDepotRequete>
	<CreerDepotRequete>
		<idDepot>CECILE00001C11D0A76500A0C91E6BF6</idDepot>

This parameter idDepot is the one we have to put as a primary key in the
database and makes us use different XMLs for each thread

Thanks

Cécile
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7758134
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
On 08/12/06, Sutailga <ce...@free.fr> wrote:
>
> Here is the config I used for the sampler
>
> http://www.nabble.com/file/4521/config%20XML%20creerdepot.JPG

Looks OK, though I can't see the whole line.

> But it doesn't work and gives me the following answer when I launch the test
> :
>
> http://www.nabble.com/file/4522/s6.jpg

That appears to be complaining about the content of the file.

Try using a non-existent file name and see if you get the same error.

If not, then JMeter must be sending the file.

Also check jmeter.log for any errors.

> We tested the service another way and it worked, so the only reason I failed
> my tests must be in the config I used.
>

Did you use the same file to test the service?

> Thanks for the help
> --
> View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7757244
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.
Here is the config I used for the sampler 

http://www.nabble.com/file/4521/config%20XML%20creerdepot.JPG 

But it doesn't work and gives me the following answer when I launch the test
:

http://www.nabble.com/file/4522/s6.jpg 

We tested the service another way and it worked, so the only reason I failed
my tests must be in the config I used.

Thanks for the help
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7757244
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
On 08/12/06, Sutailga <ce...@free.fr> wrote:
>
>
> sebb-2 wrote:
> >
> >> Can you please tell me where to put this path, as it doesn't work at this
> >> time. Is it in the SOAP Xml Data file, and if so, which field do I have
> >> to
> >> implement ?
> > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#WebService(SOAP)_Request
> >
> > "Filename" field.
> >
>
> It doesn't work, so maybe I made a mistake in my file, which is this one :
>
> - <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/:Envelope">
> - <soap:Body>
>  <foo xmlns="C:\Charge\CreerDepot_XML_entrants\${XmlIn}" />

That's not the Filename field

>  </soap:Body>
>  </soap:Envelope>
>
> I get this error while launching the tests
>
> http://www.nabble.com/file/4519/erreur%20JMeter%2020061206.bmp
>
> I don't know how to solve the problem
>
> Thanck for helping me
> --
> View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7755672
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.

sebb-2 wrote:
> 
>> Can you please tell me where to put this path, as it doesn't work at this
>> time. Is it in the SOAP Xml Data file, and if so, which field do I have
>> to
>> implement ?
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#WebService(SOAP)_Request
> 
> "Filename" field.
> 

It doesn't work, so maybe I made a mistake in my file, which is this one :

- <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/:Envelope">
- <soap:Body>
  <foo xmlns="C:\Charge\CreerDepot_XML_entrants\${XmlIn}" /> 
  </soap:Body>
  </soap:Envelope>

I get this error while launching the tests 

http://www.nabble.com/file/4519/erreur%20JMeter%2020061206.bmp 

I don't know how to solve the problem

Thanck for helping me
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7755672
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
On 07/12/06, Sutailga <ce...@free.fr> wrote:
>
>
> sebb2 wrote:
> >
> > Or just put the file names in the CSV Data set file - the path can be
> > added on the sampler.
> >
> > e.g. C:\Charge\CreerDepot_XML_entrants\${XmlIn}
> >
>
> Can you please tell me where to put this path, as it doesn't work at this
> time. Is it in the SOAP Xml Data file, and if so, which field do I have to
> implement ?
>

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#WebService(SOAP)_Request

"Filename" field.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.

sebb2 wrote:
> 
> Or just put the file names in the CSV Data set file - the path can be
> added on the sampler.
> 
> e.g. C:\Charge\CreerDepot_XML_entrants\${XmlIn}
> 

Can you please tell me where to put this path, as it doesn't work at this
time. Is it in the SOAP Xml Data file, and if so, which field do I have to
implement ?

Thanks

Cécile
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7740935
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
On 06/12/06, Sutailga <ce...@free.fr> wrote:
>
> So I Use a CSV Data Config right in front of my webservice sampler, just as
> shown on the next image
>
> http://www.nabble.com/file/4478/CSVDATACONFIG.bmp
>
> In this file, I put the adresses of 10 XML files matching the entry point of
> my webservice. Do I have to configure the variable name with another
> indication, or is it enough if I call it XmlIn, as shown on the image ?

Yes, that's fine.

> The CSV File is the following one :
>
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00001.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00002.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00003.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00004.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00005.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00006.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00007.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00008.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00009.xml
> C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00010.xml

Or just put the file names in the CSV Data set file - the path can be
added on the sampler.

e.g. C:\Charge\CreerDepot_XML_entrants\${XmlIn}

>
> Thanks
> --
> View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7719008
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: how to use a changing incoming file with JMeter

Posted by Sutailga <ce...@free.fr>.
So I Use a CSV Data Config right in front of my webservice sampler, just as
shown on the next image

http://www.nabble.com/file/4478/CSVDATACONFIG.bmp 

In this file, I put the adresses of 10 XML files matching the entry point of
my webservice. Do I have to configure the variable name with another
indication, or is it enough if I call it XmlIn, as shown on the image ?

The CSV File is the following one :

C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00001.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00002.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00003.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00004.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00005.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00006.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00007.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00008.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00009.xml
C:\Charge\CreerDepot_XML_entrants\CreerDepotRequete00010.xml

Thanks
-- 
View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7719008
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: how to use a changing incoming file with JMeter

Posted by sebb <se...@gmail.com>.
On 04/12/06, Sutailga <ce...@free.fr> wrote:
>
> Hello,
>
> I've been trying for a few days to do stress tests on webservices, but I met
> a problem : My webservices have to take as an incoming parameter XML files
> what change in each thread, as they write in a database and won't work if
> the same file is used twice.
>
> The problem is that I don't know at the time how I can configure JMeter to
> take my files in the appropriate order and thus works as the application
> needs to be testes.

Either rename the input XML files with an appropriate numeric suffix,
and use a global counter to provide the number at run-time.

Or create a list of the XML files and read it using CSV Data set.

> Can Somebody help my to configure my test plan ?
>
> Thanks
> --
> View this message in context: http://www.nabble.com/how-to-use-a-changing-incoming-file-with-JMeter-tf2750210.html#a7673155
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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