简体   繁体   中英

Determine if scenario is running (Loadrunner)

I'm using Loadrunner 9.50 (for licensing reasons cannot upgrade to latest version)
Is there a way to dynamically determine, from command line, if a scenario is running?
I am writing a simple web app which will show if a workload is currently executing against a product and would like to check status using scripts.

I know, on Windows, that processes (using tasklist ) called:

  • lr_host_balancer.exe
  • lr_bridge.exe

are running on generators, but this does not represent if a workload is actually running.
Is there a method/script I could use to return 'true' only if a workload is running?

Look at your request logs on your application under test. More requests: Test Running. No Requests: Test Not Running

When an LG runs a load test it starts one or more processes called mdrv or mmdrv. You can look for those. Note that they will not tell you who runs the load test on that LG only that some load test is running.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM