简体   繁体   English

是否可以在locust.io的WEB输出数据中结合类似的GET请求?

[英]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&param2=value2
/get-user-settings/param1=value123&param4=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&param2=%j" % (i, j), name="Get User Settings")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在没有 web 的情况下运行 locust.io 是否可以获得异常报告 csv 文件 - Is it possible to get exception report csv file in locust.io when its running without web 使用Locust.io进行Windows身份验证? - Windows Authentication with Locust.io? 在Locust.io上运行时,包含“ /#/”的URL请求都被视为“ /”,然后失败。 - URL requests containing “/#/” are all seen as “/” then failing when running on Locust.io locust.io中响应时间分布的目的是什么? - What is the purpose of response time distribution in locust.io? Locust.io 负载测试出现“连接中止 BadStatusLine”错误 - Locust.io Load Testing getting "Connection aborted BadStatusLine" Errors Fiddler 未捕获来自 locust.io v1.1.1 的流量 - Fiddler not capturing traffic from locust.io v1.1.1 Locust.io 顺序任务集未按顺序运行 - Locust.io sequential task set not running sequentially 安装locust.io错误(退出状态2失败) - Installing locust.io error (failed with exit status 2) Locust.io 我如何在 locust.io 上使用不同的用户,而不会在我启动/停止新运行时出现系统故障 - Locust.io how could i use different users on locust.io without the system bugging when i start/stop for a new run Locust.io:运行时警告:greenlet.greenlet 大小已更改,可能表示二进制不兼容 - Locust.io: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM