Outgoing WSS overrides by method/environment
Hi folks,
I'm building a regression suite for a service where each of a handful of operations has a different outgoing WSS preset for each of our several environments. E.g. operation1 has presets for op1env1, op1env2, op1env3, operation2 has op2env1, op2env2, etc.
I'd like to automate setting the override preset so I can use a single set of test cases across all environments. I'm picturing this happening in one of two ways:
1. A groovy test step in each test case that checks the environment and sets the relevant steps' outgoing WSS profile accordingly, or
2. A setup script at a higher level that would run through all the test cases and do the same.
Does anyone have any recommendations how I should go about doing this? Any suggestions would be appreciated.