ContributionsMost RecentMost LikesSolutionsRe: How to write a reusable script LibraryMartin, Have you found a way to add parameters to the constructor? So: def constructor(someString, contextIn, testRunnerIn, logIn){ this.context = contextIn; this.testRunner = testRunnerIn; this.log = logIn; log.info someString; } ... context.setProperty( "Template", new Template(someString, context, testRunner, log) ); ? ------------------ module.run("foo", testRunner, context); ? def example = context.Template("foor"); ? ------------------ I've tried the shown method, and have had no success. Thanks, -DrewSelected Project EndpointI've been searching for hours, going through crappy documentation, and perusing the API. I need to get the selected endpoint that's not based upon the test name: testRunner.testCase.getTestStepByName("Test Name").getHttpRequest().getEndpoint() I want to get this information without being dependent on a test name, so perhaps from the project level. I can't find anything that will point me in the right direction. Thanks for your help. -Drew