AndyYNWA
8 years agoOccasional Contributor
Events to target multiple test steps
Hopefully a quick one this:
Is there a way to assign an event to multiple test steps? My issue is I have several test cases that all run the same custom event (an afterTestStep on the main request) but given I want the same event fired I thought it would be inefficient to create 7 different events. Is there a format for the 'Target' field I have tried "TC-1, TC-3, TC-7" for example, but this does not seem to work.
My only other solution is to add a 'RunTestStep' step to every test case that directs traffic to a single groovy script that does the same function but again this does not feel like a smart way of doing things. This will be part of quite a large regression suite so future maintainability is key.
Thanks in advance!!