Share this page

# Working with External Data Sources - Use-case Example

This section provides an example of working with an external data source.

Note: For a task related to this example, see Work With External Data Sources.

It can be difficult to manually configure a data source when your data has a particular complex structure. As an alternative to manually setting up a data source and configuring binding in the Data Model, you can create a new data driven rule, and have Service Virtualization create the necessary structure within the data source, according to your message structure.

1. Create a virtual service.

2. In the Data Model, create a new data driven rule and select Create new data source. Service Virtualization will create the new data source according to your message structure, and bind the columns.

3. Select Data Synchronization to automatically re-import data in the new data source before Simulation.

   Alternatively, clear the Data Synchronization check box. You can choose to import at a later time.

4. After the new data source is created, you can add data. If you selected Data Synchronization, when you place your virtual service into Simulating mode, the external data is re-imported. If you did not select Data Synchronization, you can choose to refresh the data manually at any time, or reconfigure the rule for data synchronization.

https://admhelp.microfocus.com Service Virtualization 8942
Tips to improve your search results... Service Virtualization Help Center SV Help 5.4-5.4.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: