How to identify which protocol of LoadRunner supports “Run Vuser as a process” and which protocol supports multi-threading or “Run Vuser as a thread”?
Although you have understood the difference between “Run Vuser as a thread” and “Run Vuser as a process” in the previous post, now the next question comes in mind that how to identify which protocol of LoadRunner supports the multithreading and which does not? Here is the solution. You can follow the below steps and easily identify the protocol which does not support multithreading feature and executes only in “Run Vuser as a Process” mode.
Note: This is a tip to identify the supportive mode of execution for LoadRunner protocols. There are some exceptional protocols too which do not follow the below rule.
- Go to
C:\Program Files (x86)\HPE\LoadRunner\dat\protocols
The highlighted folder path could be different in your system
- You can see the list of protocol files (.lrp). Choose the respective protocol file e.g. TUXEDO.lrp
- Open .lrp file in notepad (or notepad++)
- Search for “EnableThreads”
- If the value is 1 then you can run the respective protocol script in “Run Vuser as a thread” mode. If it is 0 (zero) then you have to run the test of respective protocol script using “Run Vuser as a process” mode.
Refer to the below screenshot, TUXEDO protocol has “EnableThreads=0” that means it does not support multithreading. Therefore Tuxedo protocol script needs to be run with “Run Vuser as a process”.