InitialiseStream
InitialiseStream will configure your test agent to connect to your Stream Test Pro datasource. You are only required to run this command once on a Test Agent/Environment.
You can also include this command within your test iterations to ensure all test agents are pointing to the correct STP source. This is helpful if you have several agents/databases, i.e.: Test/Prod STP environments.
Parameters
- sDSNCon As String. The DSN Name for the remote datasource
- sDBUser As String. Optional, User Name to connect to the Stream Test Pro datasource
- sDBPass As String. Optional, Password to connect to the Stream Test Oro datasource
Returns: String
- Pass "OK" = successfully connected to Stream Test Pro datasource
- Fail "ERR#003" = failed to connect to Stream Test Pro datasource
Example
- Set stp = CreateObject ("TestPointStreamTestDLL.StreamTest")
- sRet = stp.InitialiseStream ("STRM-DSN", "Admin", "Password")
NOTE: All STP ATSI function requires a reference OBJECT to “TestPointStreamTestDLL.StreamTest” by invoking the CreateObject command as shown above.
via support.testpoint.com.au
Recent Comments