Can you try the following
Common Thread Group (disabled)
 Simple Controller
   ForEach Controller
     Webservice request
       View Results Tree
   User Defined Variables (child of simple controller, not for each)


1-user Thread Group
 Module Controller -> Common Thread Group -> Simple Controller

Report should be at test plan level I think
regards
deepak

On Thu, Jul 30, 2009 at 12:56 AM, Erik Drolshammer <[email protected]> wrote:

> Thank you for your suggestions. I have come a lot further. :)
> There are still some minor bugs in my setup. See comments inline.
>
>
> Deepak Shetty wrote:
>
>> this is what I might try
>> Option B
>> Common Thread Group (Disabled , needed only to define the common tests)
>>   Simple Controller --> Under here you could use different controllers if
>> you wanted to randomize the requests (Interleave, Throughput etc)
>>     Each Webservice.
>>      Each Soap Request
>>     User Parameters or CSV data set config (this is the bit im not sure
>> will work , if it doesnt then Id use a CSV data set config and repeat the
>> configuration for each thread group but the data isn't duplicated so i
>> think
>> thats ok)
>>
>
> I did not quite understand all of this. What I have set up:
>
> Common Thread Group (disabled)
>  ForEach Controller
>    Webservice request
>      View Results Tree
>      Summary Report
>
> ForEach, Input variable prefix: xmlfile
> Output variable prefix: xmlfilename
>
> In User Defined Variables:
> report_path = /tmp/reports
> xml_file_path = /tmp
> xmlfile1 = search1.xml
> xmlfile2 = search2.xml
> xmlfile3 = search3.xml
>
> In File with SOAP XML Data - Filename: ${xml_file_path}/${xmlfilename}
>
>
> 1-user Thread Group
>  Module Controller -> Common Thread Group -> ForEach Controller
>
>
>
> If I enable and run the Common Thread group, all three searches are run.
>
> If I run the 1-user thread group, only xmlfile1=search1 is run. This search
> is repeated the number of loops defined on the 1-user thread group.
>
> I was expecting # of loops in 1-user thread group multiplied with the
> number of xml-files.
>
> What am I missing here?
> Any suggestions?
>
>
> It is also strange that the variable in the ResultCollectors are not
> resolved. The output file is defined as:
>
> ${report_path}/${xmlfilename}_viewResultsTree.xml
>
> The resulting file is
> /tmp/reports/${xmlfilename}_viewResultsTree.xml
>
> This also seems strange to me. Any explanations why?
>
>
>  Configure Thread Groups to run serially
>>
>
> Done.
>
>
>
>
> Btw, I use JMeter 2.3.4 r785646, Java 1.6.0_14-b08 and Ubuntu 9.0.4.
>
>
>
> --
> Best regards
> Erik Drolshammer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to