Forum Discussion
Atanoly
11 years agoOccasional Contributor
Hi.
I would change your initial file with data to .csv file and then did the follwing
f = new File("C:\\folder1\\folder2\\propertyFile.csv")
BufferedReader br = new BufferedReader(new FileReader(f))
String line;
int j = 1
while ((line = br.readLine()) != null)
{
log.info "++++++++++ ++++++++++ ++++++++++ - $j - ++++++++++ ++++++++++ ++++++++++"
String [] array = line.split(";")
emailAddress= array[0]
password = array[1]
yourFunction(emailAddress,password)
j = j + 1
}
// where yourFunction is the function that you need to create that updates your request with email / password and runs it. how to update and run your requests look here :
http://www.soapui.org/scripting---properties/tips---tricks.html#1-1-get-and-set-properties