简体   繁体   English

自动化网页测试

[英]Automate WebPageTest

I have created a web application that will have to operate under a heavy client load, so I was planning to test it out with automated services, yet I don't seem to be able to find any.我创建了一个 web 应用程序,该应用程序必须在繁重的客户端负载下运行,因此我计划使用自动化服务对其进行测试,但我似乎无法找到任何服务。 In essence, I am looking for a way to imitate real requests from various locations to my server.本质上,我正在寻找一种方法来模仿从不同位置到我的服务器的真实请求。 WebPageTest seems to do the job, but I can only run it once. WebPageTest 似乎可以完成这项工作,但我只能运行一次。 Is there a way I can automate it to run every so many seconds?有没有办法让它每隔几秒自动运行一次?

TIA TIA

There is a WebPageTest API ( https://github.com/WPO-Foundation/webpagetest-docs/blob/master/dev/api.md ) which you could use to automate these requests using a CRON job.有一个 WebPageTest API ( https://github.com/WPO-Foundation/webpagetest-docs/blob/master/dev/api.md ),您可以使用它来使用 CRON 作业自动执行这些请求。

There are also off-the-shelf solutions that do this, such as SpeedCurve (paid service).还有一些现成的解决方案可以做到这一点,例如 SpeedCurve(付费服务)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM