[id='testing-datasources']
= Testing Data Sources
Verify that connections to data sources are functioning correctly with the CLI.

.Procedure

. Start the CLI.
+
[source,options="nowrap",subs=attributes+]
----
$ bin/cli.sh
[disconnected]>
----
+
. List all data sources:
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default]> server datasource ls
----
+
. Test a data source connection.
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default]> server datasource test my-datasource
----
