Forum Discussion

ppat7046_1's avatar
ppat7046_1
Occasional Contributor
7 years ago

Build and Send Request from excel then build and send response from excel

Can someone please guide me to the right direction?

 

I have two excel files. 1) Request 2) Response

 

Request.xls file looks like this:

 

UserId

Password

OrderId

1

XYZ1

XYZ

LK567

2

VBG0

VBG

ER989

 

Response.xls file looks like this:

 

UserId

Password

OrderId

CFName

CLName

Phone

1

XYZ1

XYZ

LK567

John

Smith

678-901-236

2

VBG0

VBG

ER989

Rich

Bread

234-67-0193

3

RTY3

RTY

CA123

Carlos

Gu

561-09-7777

4

K347Q

K347

GRLQW

Grant

Shah

709-00-2314

 

 

  1. Read data from Request.xls starting from first line then create and send XML request
  2. Search UserId and OrderId that were sent in step 1 within Response.xls file
    1. If found then create and send XML response
    2. Else send data not found response

 

Execute step 1 and step 2 for all data set in Request.xls file.