gpt4 book ai didi

windows - 如何在 Windows 中将 JMeter 服务器作为服务运行

转载 作者:可可西里 更新时间:2023-11-01 10:35:26 26 4
gpt4 key购买 nike

是否可以在 Windows 中将 JMeter 服务器作为服务运行?

目前我只是手动登录并运行它,但有时我必须重启这台机器,我想让 JMeter 服务器在每次重启后自动运行(即使重启后没有用户登录)。

最佳答案

  1. 创建 Windows 服务 sc create serviceName binpath= "path\to\exe"
  2. 您还可以在Windows 启动文件夹中创建快捷方式/bat 文件来启动JMeter。 C:\Users\用户名\AppData\Roaming\Microsoft\Windows\开始菜单\程序\启动

你也可以看看 this - 在没有用户登录的情况下使用 Windows 任务计划程序启动程序。

关于windows - 如何在 Windows 中将 JMeter 服务器作为服务运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30111014/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com