Forum Discussion
nmrao
13 years agoCommunity Hero
Ok. I can see that device info is a string type. However, it is seemed to a map with key:value pairs.
Don't about soapui Pro features, but sure there must be some way to use the data from datasource.
This is how i can imagine the data source could be defined:
DEVICE_NAME, DEVICE_TYPE, MODEL_NAME, WAN_IP
dev1,dev_type1,model1,wanip1
dev2,dev_type2,model2,wanip2
soapui must allow to do something like this
In the data mapping for device_info field - {'device_type':<col name from data source for DEVICE_NAME>, 'model_name':<col name from data source for >, 'wan_ip':<col name from data source for WAN_IP>}
As you see in the attached image that device_info is string, internally application might have handled to use it as a map.
and loop thru your datasource.
Hope this helps.
Don't about soapui Pro features, but sure there must be some way to use the data from datasource.
This is how i can imagine the data source could be defined:
DEVICE_NAME, DEVICE_TYPE, MODEL_NAME, WAN_IP
dev1,dev_type1,model1,wanip1
dev2,dev_type2,model2,wanip2
soapui must allow to do something like this
In the data mapping for device_info field - {'device_type':<col name from data source for DEVICE_NAME>, 'model_name':<col name from data source for >, 'wan_ip':<col name from data source for WAN_IP>}
As you see in the attached image that device_info is string, internally application might have handled to use it as a map.
and loop thru your datasource.
Hope this helps.