【背景】生产环境有定时任务的模块,每5分钟跑一次;
测试环境没有部署定时任务的应用,没法使程序持续运行。
【解决】用工具(jmeter或者postman或其他)定时调用定时任务的接口,使程序可以持续运行。
【方法一】jmeter定时发送请求




【方法二】postman定时发送请求



【背景】生产环境有定时任务的模块,每5分钟跑一次;
测试环境没有部署定时任务的应用,没法使程序持续运行。
【解决】用工具(jmeter或者postman或其他)定时调用定时任务的接口,使程序可以持续运行。
本文标题:【JMeter】定时发送请求
本文链接:https://www.haomeiwen.com/subject/ufnduftx.html
网友评论