Forum Discussion
Prouser786
15 years agoOccasional Contributor
Sorry forgot to include the imports:
import com.eviware.soapui.impl.wsdl.support.RequestFileAttachment
testRunner.testCase.getTestStepByName("Post-Upload Document-Doc").testRequest.getAttachmentAt(0).getSize()
import com.eviware.soapui.impl.wsdl.support.RequestFileAttachment
testRunner.testCase.getTestStepByName("Post-Upload Document-Doc").testRequest.getAttachmentAt(0).getSize()