locustio / locust

Write scalable load tests in plain Python 🚗💨
https://locust.cloud
MIT License
25.1k stars 3k forks source link

What should be done to support the MTProto2 protocol? #2964

Open neo532 opened 3 weeks ago

neo532 commented 3 weeks ago

Prerequisites

Description

Locust is very powerful. However, currently I want to conduct a load test on the MTproto2 protocol, but I'm struggling as I don't have a proper solution. I found the Telethon client on the Internet. Fortunately, it is also written in Python. But the combination of the two isn't going so smoothly. Could the official side please point out specific feasible solutions for reference? Thanks.

cyberw commented 2 weeks ago

Hi! I've never used MTproto2, but in general you'll find good instructions here: https://docs.locust.io/en/stable/testing-other-systems.html

cyberw commented 2 weeks ago

If you have a specific problem, let me know.