Forum Discussion
Hflower
13 years agoOccasional Contributor
Thanks Erik,
I've got the Event Handler running the script when I make a request from a resource instead of just a TestStep now.
I still need to sort or hardcode the URI parameters or maybe set it explicitly.
Another question is how do I find the Project level properties from the request variable?
from the TestStep I could do this
secretKey = testStep.testCase.testSuite.project.getPropertyValue("secretKey")
but I can't see how the request 'links' up to the Project it is in
thanks
I've got the Event Handler running the script when I make a request from a resource instead of just a TestStep now.
I still need to sort or hardcode the URI parameters or maybe set it explicitly.
Another question is how do I find the Project level properties from the request variable?
from the TestStep I could do this
secretKey = testStep.testCase.testSuite.project.getPropertyValue("secretKey")
but I can't see how the request 'links' up to the Project it is in
thanks