Are there any ODBC Vuser sample scripts for connecting to SQL Server 2008? (1690 Views)
Reply
Regular Advisor
Posts: 142
Registered: ‎10-27-2011
Message 1 of 3 (1,690 Views)

Are there any ODBC Vuser sample scripts for connecting to SQL Server 2008?

Hi,

 

I am trying to run insert/updates/queries using odbc attempting to connect to SQL Server 2008 from Loadrunner Vuser.   Does anybody have sample scripts that demonstrate the odbc parameters used to connect and to execute sql statements specifically in SQL Server?   The only samples I find in the LR documentation and in forums are mostly for Oracle.

 

Thanks,
Raymond

HP Expert
Posts: 119
Registered: ‎08-15-2009
Message 2 of 3 (1,658 Views)

Re: Are there any ODBC Vuser sample scripts for connecting to SQL Server 2008?

I have attached a sample script. It checks how well the database server can deal with concurrent connections.

 

Visit LoadRunner Linked-In Group: http://www.linkedin.com/groups?about=&gid=1879289

Visit TruClient Linked-In Group: http://www.linkedin.com/groups/HP-TruClient-Software-group-4539324/about
Regular Advisor
Posts: 142
Registered: ‎10-27-2011
Message 3 of 3 (1,648 Views)

Re: Are there any ODBC Vuser sample scripts for connecting to SQL Server 2008?

Thanks Shlomi!

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.