Deploying stubs
For the stub to access the correct data source, you must publish each stub to the correct domain and environment that is the one that contains that stubs data source.
![](../images/deploying_stubs.jpg)
Ensure that all referenced data sources are within the project folder structure; otherwise, the stub cannot access the data source when it is published to IBM® Rational® Test Control Panel.