Which LoadRunner protocol supports “Run Vuser as a process”?

How to determine loadrunner protocol supports Run VUser as a process

Problem:

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”?

Solution:

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.

  1. Go to
    C:\Program Files (x86)\HPE\LoadRunner\dat\protocols
    The highlighted folder path could be different in your system
  2. You can see the list of protocol files (.lrp). Choose the respective protocol file e.g. TUXEDO.lrp
  3. Open .lrp file in notepad (or notepad++)
  4. Search for “EnableThreads”
  5. 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”.

How to identify "Thread Run as a process"
Figure 01: TUXEDO.lrp File

Leave a Reply

Your email address will not be published. Required fields are marked *