Hello,
All of the following scenario-level settings are applied to all requests inside the scenario: `store-cache`, `store-cookies`, `headers`, `think-time`, `timeout`, `default-address`, `keepalive`, `retrieve-resources`, `content-encoding`. Unfortunately Taurus doesn't provide a way to set these options more globally than per-scenario.
You can probably try to perform this little trick with the
`include-scenario` block, though. By using it you can have one
scenario that will set the `default-address` and possibly other
global options, while keeping actual requests in other scenarios.
Here's an example:
Dmitri
Hello Folks, I've been unable to find the answer this on the gettaurus site or google searches. In Jmeter you could add the HTTP Request Defaults configuration controller and set the default server/port as well as params that should be on every request. I'm trying to do that same thing using Taurus. I have found the default-address option which is global to a scenario, but I'm finding myself repeating that in every scenario, instead I want to set that globally. I have not found anything for params globally, or at the scenario level.
Is this possible to do?
--
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/4abaee5e-d936-4cde-872f-f84b86134daf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No, it isn't possible to do that sort of thing (specify
additional request parameter at scenario level). It's a shame, as
it seems pretty useful.
We'll think of possible ways to add that feature to scenario syntax.
Dmitri
--
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/adab8c48-0764-49bc-b981-3917ab7d2965%40googlegroups.com.
I'd offer to use JMeter properties for that. Like this
---
scenarios:
sample:
default-address: ${__P(def_addr)}
requests: ...
execution: ...
modules:
jmeter:
properties:
def_addr: http://aaa.bbb
By that, you should have the centralized place to change default
address.
| Andrey Pohilko Chief Scientist P: +7 (909) 631-21-69 |
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/195622f3-7ec0-4eac-bf24-b2bbdd5b3bcd%40blazemeter.com.
Hi,
You can specify "- include-scenario: abc" multiple times, because it's all list items.
--
Andrey Pokhilko
Open Source Initiatives Leader


CAUTION: This email originated from outside of CA. Do not click links or open attachments unless you recognize the sender and know the content is safe.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/51c3fa80-a398-43cb-9c22-2194b2486d15%40googlegroups.com.