TestSteps Example

Use the TestStep node to execute a particular step defined in the soapUI project XML file. You can add multiple TestSteps to a TestCase.

The step can be a SOAP request step, delay step, property transfer step, or a groovy script. For example, AddRecord, Delay, Transfer EventID, and SaveDownloadFile.

<ns:TestCase abortOnError="true" failTestCaseOnError="true" socketTimeOut="900000">
				<ns:Name>InitiateImport</ns:Name>
				<ns:ExternalProperties>
						<ns:Property>
							<ns:Key>Catalog 1</ns:Key>
							<ns:Value>Person</ns:Value>
						</ns:Property>
						<ns:Property>
							<ns:Key>InputMap</ns:Key>
							<ns:Value>PACL_DL</ns:Value>
						</ns:Property>
							<ns:Property>
								<ns:Key>ImportFileName</ns:Key>
								<ns:Value>PACL5.txt</ns:Value>
							</ns:Property>		
						</ns:ExternalProperties>
				<ns:SOAPUILookup>
					<ns:TestSuite>Master Suite</ns:TestSuite>
					<ns:TestCase>Import</ns:TestCase>
				</ns:SOAPUILookup>
				<ns:Attachment>
					<ns:testStep>loadImportAction</ns:testStep>
					<ns:url>data/PACL5.txt</ns:url>
				</ns:Attachment>
			</ns:TestCase>