在尝试运行蝗虫文件并将数据转换为 csv 时,我在使用虚拟 locustfile.py 的 java 中遇到了这个错误。我已经尝试编辑命令和所有内容,但似乎没有任何帮助。PFB 错误:locust -f /home/sonali/locustapitest/src/main/resources/performance/locust-master.py --master --no-web --csv=/home/sonali/locustapitest/target/csvlocustsresults/performanceResults --expect-slaves=1 -c 1 -r 1 -t1m[2020-07-07 12:26:25,897] sonali-Latitude-3490/ERROR/stderr: Traceback (most recent call last):[2020-07-07 12:26:25,897] sonali-Latitude-3490/ERROR/stderr: File "/home/sonali/.local/bin/locust", line 8, in <module>[2020-07-07 12:26:25,897] sonali-Latitude-3490/ERROR/stderr: [2020-07-07 12:26:25,897] sonali-Latitude-3490/ERROR/stderr: sys.exit(main())[2020-07-07 12:26:25,897] sonali-Latitude-3490/ERROR/stderr: [2020-07-07 12:26:25,897] sonali-Latitude-3490/ERROR/stderr: File "/home/sonali/.local/lib/python3.6/site-packages/locust/main.py", line 503, in main[2020-07-07 12:26:25,898] sonali-Latitude-3490/ERROR/stderr: [2020-07-07 12:26:25,898] sonali-Latitude-3490/ERROR/stderr: runners.locust_runner = MasterLocustRunner(locust_classes, options)[2020-07-07 12:26:25,898] sonali-Latitude-3490/ERROR/stderr: [2020-07-07 12:26:25,898] sonali-Latitude-3490/ERROR/stderr: File "/home/sonali/.local/lib/python3.6/site-packages/locust/runners.py", line 320, in __init__[2020-07-07 12:26:25,898] sonali-Latitude-3490/ERROR/stderr: [2020-07-07 12:26:25,898] sonali-Latitude-3490/ERROR/stderr: self.server = rpc.Server(self.master_bind_host, self.master_bind_port)[2020-07-07 12:26:25,898] sonali-Latitude-3490/ERROR/stderr: [2020-07-07 12:26:25,898] sonali-Latitude-3490/ERROR/stderr: File "/home/sonali/.local/lib/python3.6/site-packages/locust/rpc/zmqrpc.py", line 41, in __init__
添加回答
举报
0/150
提交
取消