JMeter -远程进入Windows计算机

ztmd8pv5  于 4个月前  发布在  Windows
关注(0)|答案(1)|浏览(79)

我需要通过JMeter执行以下操作:

1. MSTSC ---> Provide the IP address ---> Click on Connect.
   2. Provide the domain\username and password.
   3. Capture the time into a file (Start Time).
   4. Double click on a file.
   5. Wait until that (Desktop)application is loaded.
   6. Note the time in the same file (End Time).
   7. Subtract Start Time from End Time.
   8. Disconnect the remote session.

字符串
输出文件应该如下所示:

Start_Time    End_Time   Load_Time
    
  10:00:02     10:00:07    5 secs 
  11:03:06     11:03:20    7 secs


我该怎么做?

uwopmtnx

uwopmtnx1#

开箱即用的JMeter不支持RDP协议,也没有合适的plugins,所以很难实现。
您需要使用桌面自动化工具(如Appium)或自动化库(如LDTP)(两者都可以通过JSR223 Test Elements与JMeter集成),但它们只能给予您自动化RDP客户端应用程序的可能性。
如果你想获得一些RDP协议指标,或者需要完全控制,你应该看看Java RDP客户端库,如jrdesktopjrdpVinagre,并在上述JSR223测试元素中使用它们的相关函数或代码。

相关问题