Add a step for Groovy Script & put the following piece . This will pull data from excel & load it to properties in your test case.
import jxl.*
import jxl.write.*
import com.eviware.soapui.support.XmlHolder
Workbook file = Workbook.getWorkbook(new File("C:/Folder1/File1.xls"))
tc = context.testCase
//This is to access the sheet
Sheet PersonInfo = file.getSheet(0)
//This will fetch data from cells. getCell(row,column) -- The leftmost cell being (0,0)
Cell FirstName = PersonInfo.getCell(1,1)
Cell LastName = PersonInfo.getCell(2,1)
Cell Address = PersonInfo.getCell(3,1)
Cell DOB = PersonInfo.getCell(4,1)
file.close()
//The following piece will load the excel values in SoapUI in Test Case properties
tc.setPropertyValue("First_Name",FirstName.getContents())
tc.setPropertyValue("Last_Name",LastName.getContents())
tc.setPropertyValue("AddressLine1",Address.getContents())
tc.setPropertyValue("DOB",DOB.getContents())
Now, In your Request XML, you can fetch that data using the following syntax.
<firstName>${#TestCase#First_Name}</firstName>
<lastName>${#TestCase#Last_Name}</lastName>
Thanks,
PredatorSingh