Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tong89/smartNode
/ check_resource_utilization
Method
check_resource_utilization
tests/load/locustfile.py:143–145 ·
view source on GitHub ↗
轮询资源利用率接口,采集基线数据。
(self)
Source
from the content-addressed store, hash-verified
141
142
@task(1)
143
def
check_resource_utilization(self):
144
""
"轮询资源利用率接口,采集基线数据。"
""
145
self.client.get(
"/api/resource_utilization"
, name=
"/api/resource_utilization"
)
146
147
148
class
HighConcurrencyUser(HttpUser):
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected