Hi,
Yes, that's the way.
One of the ways, if you want to repartition, is to:
This way, if you still specify "concurrency", Taurus will still
respect proportion based on default value parsed out of $__P().
--
Andrey
--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/CAH9fUpYL35KnQTvt9aDFTNjqUrYZcwuNtJ7%3DwrkXP9Q87qQsiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
When I try to run your files I have a lot of error messages in
jmeter.log. Are you sure Jexl function is worth using instead of
constant values?
In your example YAML there is no "threads" property set...
When I set it, I get correct behavior.
--
Andrey
--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/46e30a5e-bd66-47bf-ad35-92f3d7c04f8c%40googlegroups.com.
No, you did it right in your YAML file, except missing "threads".
Probably you need default value for "threads" in your Jexl, too.
--
Andrey
On Thu, Feb 7, 2019 at 4:29 PM 'Andrey Pokhilko' via codename-taurus <codenam...@googlegroups.com> wrote:
Hi,
Yes, that's the way.
One of the ways, if you want to repartition, is to:
- use no "concurrency" in YAML
- use $__P() function inside JMX, with different property name for each TG
- use "properties" section to specify property value for each of Thread Groups.
This way, if you still specify "concurrency", Taurus will still respect proportion based on default value parsed out of $__P().
Thanks Andrey.
I by "use no "concurrency" in YAML" you mean what I attach, I think I tried already this one and it didn't work wether I remove or not force-cth
Did I make a mistake ?
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/1d346a95-269c-db3a-64bf-2f9320ff88f4%40broadcom.com.
For more options, visit https://groups.google.com/d/optout.
--
Cordialement.
Philippe Mouawad.
It works perfectly for me. How do you tell that it does not work?
--
Andrey
First find attached the missing files of my last answer implementing what you propose.It doesn't work for me.
Let me check on my side the first version
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/6dffb108-3c16-ac40-6039-2a344e1c68db%40broadcom.com.
For more options, visit https://groups.google.com/d/optout.
--
Cordialement.
Philippe Mouawad.
This version works fine for me.
--
Andrey
Which version works for you ?
With the last files sent,I have 2 threads (50% / 50%) while I should have 100 threads (30 for TG1/ 70 for TG2)
--
Cordialement.
Philippe Mouawad.
You are not crazy, you just hit the bug that was fixed in master branch already. I use latest master in my env, so it works fine for me.
You can install latest snapshot to try it, or wait for the next
release (1-2 weeks).
--
Andrey
I must be crazy Andrey , I have this using Taurus CLI Tool v1.13.2:
17:26:16 WARNING: Parsing concurrency '${__P(pct_1,40)}' in group 'ThreadGroup' failed, choose 1
17:26:16 WARNING: Parsing concurrency '${__P(pct_2,60)}' in group 'ThreadGroup' failed, choose 1
--
Cordialement.
Philippe Mouawad.
There's no strict date for it, I estimate it as 1-2 weeks from
now.
I prefer that :-)
What's the expected release date for this new version ?
Thanks
--
Cordialement.
Philippe Mouawad.
When "concurrency" is not set, Taurus will keep using your JEXL functions in corresponding fields.
"force-ctg" is exactly to control the behavior of TG type change, like you describe it.
--
Andrey
Thanks.
Regarding this field, I have 2 doubts:
- Will Taurus touch "Number of Threads" property when concurrency is not set (IMO it shouldn't ) , and what is the relation with force-ctg ?
- If it does, will initial syntax based on JEXL3 work ? It works in plain JMeter
- ${__jexl3((props.getOrDefault("pct_services"\, "0")*props.get("threads")).intValue(),)}
- What exactly is the impact of "force-ctg: false", IMU it will not replace Thread Group by Concurrency Thread Group but is it the only impact ?
Thanks
--
Cordialement.
Philippe Mouawad.
Hi,
Yes, that's the way.
One of the ways, if you want to repartition, is to:
- use no "concurrency" in YAML
- use $__P() function inside JMX, with different property name for each TG
- use "properties" section to specify property value for each of Thread Groups.
This way, if you still specify "concurrency", Taurus will still respect proportion based on default value parsed out of $__P().
--
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/1d346a95-269c-db3a-64bf-2f9320ff88f4%40broadcom.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/6dffb108-3c16-ac40-6039-2a344e1c68db%40broadcom.com.
For more options, visit https://groups.google.com/d/optout.