随笔分类 -  性能测试locust

摘要:1、启动 3.2 分布式模式 适用于大规模测试。支持多台机器协同工作,能够模拟大量并发用户,包括 master 和 worker 节点,worker节点产生负载, master 节点主要负责协调和收集来自多个 worker 节点的数据。 运行方法: 启动 master: locust -f locu 阅读全文
posted @ 2025-05-29 12:18 不带R的墨菲特 阅读(86) 评论(1) 推荐(0)
摘要:proto文件helloword.proto: // Copyright 2015 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this 阅读全文
posted @ 2020-05-01 18:47 不带R的墨菲特 阅读(1206) 评论(1) 推荐(0)
摘要:from locust import HttpLocust, TaskSet, task import uuid, time import logging,json # https://docs.locust.io/en/stable/third-party-tools.html class Use 阅读全文
posted @ 2020-02-13 19:30 不带R的墨菲特 阅读(229) 评论(0) 推荐(0)
摘要:1. Locust简介 Locust是使用Python语言编写实现的开源性能测试工具,简洁、轻量、高效,并发机制基于gevent协程,可以实现单机模拟生成较高的并发压力。 官网:https://locust.io/ 主要特点如下: 1) 使用普通的Python脚本用户测试场景 2) 分布式和可扩展, 阅读全文
posted @ 2019-07-20 18:11 不带R的墨菲特 阅读(498) 评论(0) 推荐(0)
摘要:https://debugtalk.com/post/head-first-locust-user-guide/ 阅读全文
posted @ 2019-07-20 17:36 不带R的墨菲特 阅读(395) 评论(1) 推荐(0)
摘要:locust 阅读全文
posted @ 2019-03-31 23:40 不带R的墨菲特 阅读(156) 评论(1) 推荐(0)