我可以使用模拟器使用 Jmeter 测试本机 ios 应用程序吗

Can i test native ios app with Jmeter using Simulator

我可以使用模拟器使用 Jmeter 测试本机 ios 应用程序吗?另外,我的应用程序需要登录。 如果不是,我可以使用什么最好的工具?

如果您想衡量您的应用程序性能 JMeter 不会帮助您,它是一个负载测试工具,作用于 network protocol 级别。

因此,如果您想收集应用程序端性能指标并检测应用程序的缓慢部分,最好使用 Instruments (comes with Xcode), see i.e. How to find and fix slow code using Instruments 文章了解更多详细信息。

JMeter 可以帮助您模拟成百上千的iOS 应用程序用户并发访问后端或数据库,但这是针对后端的测试,而不是针对应用程序。如果这是您感兴趣的内容,您可以使用 JMeter 的 HTTP(S) Test Script Recorder and once done replay it with increased number of virtual users to see how your backend handles the load. Check out Load Testing Mobile Apps Made Easy 文章了解整体概念来记录您的移动应用程序流量。