Forum Discussion

jmcnulty's avatar
14 years ago

Functional Testing with external data source

I have created a test project that reads data from a delimited file. The project runs fine without errors, but I am experiencing the following problem.

My project reads test records (basically name and address) and inserts to the XML web service for “creating user”. In reviewing the logs I can see the transfer values is correct; however when inserting the data into the xml it holds onto data from a previous record if that data element is not populated on the current test record. For example record 1 contains data for both Address line 1 and Address line 2. Test record 1 is created without issue. Record 2 has data only in Address line 1. When the data is populated in the XML for record 2 it holds onto the value for address line 2 from record 1 (or the previous record where Address line 2 was populated). Is there a setting of some sort or an additional step I can add that “resets” the values prior to processing each test record?

Thanks

-- Joe

1 Reply

  • Since you are a Pro user, you should ask in the Pro forum - then you'll get support