def currentStepInd = context.currentStepIndex def previousStep = testRunner.testCase.getTestStepAt(currentStepInd - 1) log.info previousStep.name
Daily Archives: February 11, 2017
Setting Header Values SOAPUI Groovy
import com.eviware.soapui.impl.wsdl.teststeps.* def list = [] list.add(jsessionid) def headers = testStep.testRequest.requestHeaders headers["Cookie"] = list testStep.testRequest.requestHeaders = headers log.info testStep.testRequest.requestHeaders["Cookie"]