justlooking
12 years agoNew Contributor
what is the purpose of a Property for data connection source
want to use a saved property in the test case to query the database, and validate the query result against the test. So, steps are:
use data source GRID to create data for testing
insert GRID data into file data source
insert file data source as XML into an XML parameter for the API call
run the API call
catch a new ID returned with the API response
pass the new ID to SQL data source, execute query <== up to here, I'm fine
The Data Connection data source has a PROPERTY named pproduct_iprodkey. The query which was executed selects this based upon the values passed from the GRID data.
I want to see if this Data Connection property matches the new ID caught in the transfer step. BUT, the pproduct_iprodkey never has a value. I can't find any information regarding how to use this property in the context of a Data Connection data source
use data source GRID to create data for testing
insert GRID data into file data source
insert file data source as XML into an XML parameter for the API call
run the API call
catch a new ID returned with the API response
pass the new ID to SQL data source, execute query <== up to here, I'm fine
The Data Connection data source has a PROPERTY named pproduct_iprodkey. The query which was executed selects this based upon the values passed from the GRID data.
I want to see if this Data Connection property matches the new ID caught in the transfer step. BUT, the pproduct_iprodkey never has a value. I can't find any information regarding how to use this property in the context of a Data Connection data source