[英]Isit possible to union the similar GET requests in WEB output data in locust.io?
Is it possible to union the similar GET requests in WEB output data in locust.io? 是否可以在locust.io的WEB输出数据中结合类似的GET请求? for example, I've such GET requests: 例如,我有这样的GET请求:
/get-user-settings/param1=value1¶m2=value2
/get-user-settings/param1=value123¶m4=value1234
So, locust, actually, show the results of the each request. 因此,实际上,蝗虫会显示每个请求的结果。 However, I need to gather the general statistic of the method /get-user-settings 但是,我需要收集方法/ get-user-settings的一般统计信息
According to the the documentation you should be able to get all the requests in one place. 根据文档,您应该能够在一个地方获得所有请求。 In your case it would be something like: 在你的情况下,它将是这样的:
client.get("/get-user-settings/param1=%i¶m2=%j" % (i, j), name="Get User Settings")
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.