[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-user
Subject:    Re: Load distibution for different threadgroups in same test
From:       Flavio Cysne <flaviocysne () gmail ! com>
Date:       2014-02-10 19:03:31
Message-ID: CADiMt-VMEDnoPXksRSNE5i63HjQau84zG+X_Kup1qLBs7nh3WA () mail ! gmail ! com
[Download RAW message or body]


Your question is missing, but accordingly to the title this is my
suggestion:

Define a Test Plan property called threads and use its value to distribute
load among Threads Groups

# threads=50

Threads Group 1 (60%) -> __javaScript(Math.ceil(${threads}*0.6))

Threads Group 2 (40%) -> __javaScript(${threads}-Math.ceil(${threads}*0.6))


If you want to vary the load for each Threads Group then use another Test
Plan property to define load percentiles and pass it with -J or -G JMeter
command line parameters

# threads=50 and loadFactor=0.6

Threads Group 1 (60%) -> __javaScript(Math.ceil(${threads}*${loadFactor}))

Threads Group 2 (40%)
-> __javaScript(${threads}-Math.ceil(${threads}*${loadFactor}))

Regards


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic