摘要:
# *_*coding:utf-8 *_* # @Author : zyb import queue q = queue.Queue() for i in range(100): q.put(i) from locust import FastHttpUser, task, between, Seq 阅读全文
posted @ 2024-12-11 10:47
九五二七乌托邦
阅读(52)
评论(0)
推荐(0)
摘要:
# *_*coding:utf-8 *_* # @Author : zyb from locust import HttpUser, TaskSet, task, constant,FastHttpUser from locust import LoadTestShape class UserTas 阅读全文
posted @ 2024-12-11 10:47
九五二七乌托邦
阅读(31)
评论(0)
推荐(0)
摘要:
from locust.runners import (MasterRunner, WorkerRunner, STATE_STOPPING, STATE_STOPPED, STATE_CLEANUP, LocalRunner) from locust import HttpUser, TaskSe 阅读全文
posted @ 2024-12-11 10:47
九五二七乌托邦
阅读(40)
评论(0)
推荐(0)
摘要:
# *_*coding:utf-8 *_* # @Author : zyb # HttpUser :保持会话。FastHttpUser:高性能 from locust import TaskSet, task, HttpUser,FastHttpUser, between, constant_thr 阅读全文
posted @ 2024-12-11 10:46
九五二七乌托邦
阅读(39)
评论(0)
推荐(0)
摘要:
# *_*coding:utf-8 *_* # @Author : zyb from locust import TaskSet, task, FastHttpUser, between, events # 定义任务集类 @events.request.add_listener def on_req 阅读全文
posted @ 2024-12-11 10:46
九五二七乌托邦
阅读(55)
评论(0)
推荐(0)
浙公网安备 33010602011771号