Benchmark Factory allows you to create a connection to a SAP database using native database provider connectivity or ODBC connectivity.
Create SAP native connection need to configure sql.ini file.
To configure sql.ini file
The sql.ini file contains information about the network locations of servers. Open Client uses the network information provided by the query line of a sql.ini file entry to connect to the server. By default, Open Client and Open Server products look for sql.ini in the %SYBASE%\ini directory.
The following provides an form of a sql.ini file entry:
[SERVERNAME]
service_type=driver,address
Description | |
---|---|
Server Name |
Enter the name of the server |
service_type |
Enter the type of connection. |
driver |
Enter the name of the network driver to use for the connection. |
address |
Enter the network address for the specified server. |
For detailed information on the sql.ini file, see http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc35830.1550/html/pccfg/X99417.htm
To create an SAP database connection
Enter the connection information. Review the following for additional information:
Note: BFScripts have been enabled on the User Name and Password fields.
Native | |
---|---|
Server Name |
The name or the IP address of the server. |
Database |
The name of the database to which you want to connect. |
User Name |
Enter the user name to use for this connection. |
Password |
Enter the password associated with the user name. |
Connection Name |
Enter a name to use to identify this connection in the My Connections pane. |
Options |
Click to specify timeout and reconnect options. See Connection Timeout and Reconnect Options. |
Note: To review or modify a connection, click Edit Connections in the main toolbar. Select a connection and click .
To create a SAP ODBC connection
Enter the following connection information.
ODBC tab | |
Data Source Name |
The name of the SAP ODBC data source. |
User Name |
Enter the user name to use for this connection. |
Password |
Enter the password associated with the user name. |
Connection Name |
Enter a name to use to identify this connection in the My Connections pane. |
Options |
Click Options to specify timeout and reconnect options. See Connection Timeout and Reconnect Options. |
Note: BFScripts have been added to the Data Source name field in the ODBC Connection dialog. BFScripts have been enabled on the User Name and Password fields.
Note: To review or modify an existing connection, click Edit Connections in the main toolbar. Select a connection and click .
Benchmark Factory allows you to add additional performance counters to a connection. See Performance Counters Tab for more information.
Benchmark Factory allows you to create a connection to a Microsoft SQL Server database using native database provider connectivity or ODBC connectivity.
To create a SQL Server native connection
Note: Beginning with Benchmark Factory 8.1, a SQL Server client is no longer distributed along with Benchmark Factory. To create a SQL Server native connection, ensure a SQL Server client is installed.
Enter the following connection information.
Native | |
---|---|
Server Name |
Enter the name or the IP address of the server. Click the drop-down arrow to retrieve a list of servers running SQL Server that are currently active on the network. |
Authentication |
Select the type of authentication to use. |
User Name |
Enter the user name to use for this connection. |
Password |
Enter the password associated with the user name. |
Connection Name |
Enter a name to use to identify this connection in the My Connections pane. |
Options |
Click Options to specify timeout and reconnect options. See Connection Timeout and Reconnect Options. |
Note: BFScripts have been enabled on the User Name and Password fields.
To create a SQL Server ODBC connection
Enter the following connection information.
ODBC tab | |
Data Source Name |
The name of the MS SQL Server ODBC data source. |
User Name |
Enter the user name to use for this connection. |
Password |
Enter the password associated with the user name. |
Connection Name |
Enter a name to use to identify this connection in the My Connections pane. |
Options |
Click Options to specify timeout and reconnect options. See Connection Timeout and Reconnect Options. |
Note: BFScripts have been added to the Data Source name field in the ODBC Connection dialog. BFScripts have been enabled on the User Name and Password fields.
Note: To review or modify an existing connection, click Edit Connections in the main toolbar. Select a connection and click .
SQL Server DB-Library connection (obsolete)
The SQL Server DB-Library connection is available in the 32-bit version of Benchmark Factory. Before using this connection type, please review the following considerations.
Select the Miscellaneous tab of the Connection dialog to specify options for flushing cached data. Review the following for additional information.
Note: The Miscellaneous tab is only available when creating a SQL Server Native connection. For a SQL Server ODBC connection, the default options specified in Edit | Settings | SQL Server are used.
Database Flush | |
---|---|
Clean data buffer and procedure caches at start of each test iteration |
Select this option to instruct Benchmark Factory to clear cached data between iterations. Cached data can improve performance, so selecting this option can prevent cached data from affecting subsequent iterations. Notes:
|
Select the Performance Counters tab of the Connection dialog to add additional performance counters to a connection. See Performance Counters Tab for more information.
To edit a connection, use the My Connections pane or click the Edit Connections button in the main toolbar. Both the My Connections pane and the Edit Connections dialog provide a list of your currently-defined connections. Use either of these interfaces to view or modify information for each connection.
To learn how to create a new connection, see Benchmark Factory Connections.
To edit a connection
Use one of the following methods to edit a connection:
Click Edit Connections. In the Edit Connections dialog, use the following toolbar buttons to manage connections.
Open the New Connection dialog to create a new connection. | |
Remove the selected connection. | |
Open the Connection dialog for the selected connection. Use this dialog to view or edit connection properties. |
Select View | My Connections. In the My Connections pane, use the following toolbar buttons to manage connections.
Create a new connection. | |
Edit the selected connection. | |
Duplicate the selected connection. | |
Delete the selected connection. |
You can specify timeout and reconnect options when you are creating a new connection. You can also specify these options at any time for an existing connection.
To specify timeout and reconnect options
Specify the following options.
Timeout | |
Time |
The maximum amount of time Benchmark Factory will try to log on to the system-under-test. If this amount of time is reached, Benchmark Factory will return an error. |
Infinite timeout |
Prevents the logon to the system-under-test from timing out and returning an error. |
Reconnect | |
Enable Reconnect |
Enables Benchmark Factory to attempt to reconnect to the system-under-test if the connection is lost. |
Number of reconnect attempts |
The number of times to attempt to reconnect before aborting. |
Time to wait between reconnect attempts (seconds) |
How long to wait before attempting to reconnect. |
To specify timeout and reconnect options for an existing connection
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center