随笔分类 - 性能测试locust
摘要:1、启动 3.2 分布式模式 适用于大规模测试。支持多台机器协同工作,能够模拟大量并发用户,包括 master 和 worker 节点,worker节点产生负载, master 节点主要负责协调和收集来自多个 worker 节点的数据。 运行方法: 启动 master: locust -f locu
阅读全文
摘要:proto文件helloword.proto: // Copyright 2015 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this
阅读全文
摘要:from locust import HttpLocust, TaskSet, task import uuid, time import logging,json # https://docs.locust.io/en/stable/third-party-tools.html class Use
阅读全文
摘要:1. Locust简介 Locust是使用Python语言编写实现的开源性能测试工具,简洁、轻量、高效,并发机制基于gevent协程,可以实现单机模拟生成较高的并发压力。 官网:https://locust.io/ 主要特点如下: 1) 使用普通的Python脚本用户测试场景 2) 分布式和可扩展,
阅读全文
摘要:https://debugtalk.com/post/head-first-locust-user-guide/
阅读全文


浙公网安备 33010602011771号