我们有一个 Unix 应用程序,它本质上是一个美化的 telnet 服务器。
我们无法访问 Unix 服务器,但我们需要进行负载/压力测试。
我们确实需要能够模拟数百个用户会话登录并执行某些操作。
我想我也许可以使用一个终端模拟器来同时执行这些操作。
但我不确定做到这一点的最佳方法。
有没有任何软件可以让我做到这一点?
或者有人可以推荐一个简单的方法来做到这一点?
We have a Unix application that is essentially a glorified telnet server.
We have no access to the Unix server, yet we need to do load/stress testing.
We really need to be able to simulate a few hundred user sessions logging in and performing certain actions.
I thought I could perhaps use a terminal emulator that performs these actions concurrently.
But I am unsure of the best way to do this.
Is there any software that exists that would allow me to do this?
Or could someone recommend as easy way to do this?
发布评论
评论(2)
如果我要做这样的事情,我会使用围绕 Net::Telnet,也许使用 Expect 和基准,具体取决于您的目标。
If I was going to do something like this I'd use a multithreaded perl program built around Net::Telnet, maybe using Expect and Benchmark depending on your objectives.
我会选择 https://github.com/ztellman/aleph/wiki/TCP
I would go for https://github.com/ztellman/aleph/wiki/TCP