Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在 ReadyApi 的测试套件中运行 150,000 多个测试用例(这涉及对给定的 API 发出休息请求。),但是我总是遇到堆内存问题,这会停止测试执行。我已经尝试了此链接上的所有内容:http ://readyapi.smartbear.com/soapui/working/improving_memory_usage以减少内存消耗,但仍然内存不足。由于我机器上的资源有限,增加堆空间可能不是一种选择。当前堆大小为 4GB,permSpace 为 500MB,已分配给就绪 API。
SoapUI 在内存处理方面存在已知问题。
有了这么多测试用例,您应该考虑将所有内容分解为多个项目。每个项目都必须重新启动测试用例运行程序,因此将从新的内存占用开始。