You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2009/08/25 11:34:28 UTC

Re: Thread group and CSV Data set combination is not working as desired

On 25/08/2009, Ragini Thakur <ra...@cybage.com> wrote:
>
>  Hi ,
>
>  The Test plan configuration to execute test cases to post XML over HTTPS is as below
>
>     * Test Plan
>           o Thread group [ Thread #: 1, Loop: forever]
>                 +  CSV Dataset Config [ Recycle on EOF: false, Stop thread on EOF: True; Sharing mode : current thread group]

This sharing mode means that each thread in the group will read the
next line from the file, depending on the order in which the threads
happen to request the data. You probably want "Sharing mode: current
thread" instead.

>                 +  HTTP Client Sample [ for posting xml over https]; Parameter for POST request is XML file name [along with its location in variable]
>                       # Response assertion
>
>  Each row of CSV file contains the test case to execute.  It contains the path and name of XML file to be posted for each test case.
>
>  The issue is when test plan is executed the post request is not reading new value [ i.e. file name and path ] from CSV file. The POST request sampler is using same request XML file for each post.
>
>  For e.g. Suppose the CSV file contains 3 rows for 3 test cases, then when test plan is executed each time the post request sends the file specified in first row of CSV.
>
>  Please advise.
>
>  Note: The same test plan executes correctly when there is one to one mapping between CSV file rows and number of threads.

>  Regards,
>  Ragini
>
>  "Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
>  www.cybage.com
>
>
>

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