Hi all,
I am a newbie in terms of load runner so please excuse my ignorance if I confuse you more with my quesiton here. I started using Load Runner just couple of weeks now and was checking some pre-written scripts. So the process I was following simply straight forward... open vugen>click to develop script>check the steps and tweak them if necessary and hit the replay button.
Issue is, all of a sudden this afternoon clicking on the replay button in the TruClient nothing happens. Firfox stops responding. But if I run the steps individually, it works!
I then tried run the script from the vugen (wtihout TruClient) and it came up with the following error...
Error: TransDataLoggerExt failed to initialize TransactionDataToSQLite class
Error: For more information, see TransactionsData.log
Warning: Extension trans_data_logger_ext.dll reports error -1 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension trans_data_logger_ext.dll.
System.IO.IOException: The process cannot access the file 'C:\Loadrunner Scripts\March_2017\Firefox\AssuranceS9-SMOV-FF\mdrv.log' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at HP.LR.Vugen.BackEnd.Debugger.VuGenCciDebugger.CciDebuggerPlugin.SendMdrvLogErrors() in e:\LT\LT-LR\win32_release\12.50.1096.0_clean\app\VuGen\BackEnd\Current\Debugger\cci_debugger_plugin\CCIDebuggerPlugin.cs:line 769
I have also looked at the TransactionsData.log file and it says:
SQL error: Unable to access file C:\Loadrunner Scripts\Firefox\AssuranceS9-SMOV-FF\TransactionsData.db. Make sure that the file is not locked by a different process
Any help will highly be appreciated.
Many thanks