Forum Discussion
jmistrik
14 years agoOccasional Contributor
try:
TestStep ts = testRunner.testCase.getTestStepByName("Test Step1")
TestStep ts2 = testRunner.testCase.getTestStepByName("Test Step2")
String content = ts.getHttpRequest().getRequestContent()
ts2.getHttpRequest().setRequestContent(content)