一键压测工具改造(locust)

时间:2021-07-10 02:34:16

本文内容来自“天外归云”大神,原文链接http://www.cnblogs.com/LanTianYou/p/5987741.html,目前只对启动脚本做了一些改造,应该说是,不适用powershell脚本,而使用bat批处理文件执行。之所以这么做,是考虑到powershell脚本运行权限默认没有开启,再者,开启了之后存在一定的风险。故做了这个简单的改造。

结构目录如下:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkcAAABtCAIAAAAkiVLZAAAdqklEQVR4nO2dS4wbx5nH52rkmlNgLALkAWiPewhAIIfFAusAwb6Sw2YDCDkEYA5ZTxBskIeNrB3Y2OHGjihKm1hINoPOw05gDWnPiDNSq2c4o3UirzOOTVmxtHQSW6MHvVrbkYfNN7tJ7qFf9fiquodDciTO/4eBxO6uqq5md9W/v6+K9c25Ch5Ohir7XU8lm5pLFw+6FgAAAMbK3EFXAAAAABgbUDUAAACzA1QNAADA7ABVAwAAMDtA1QAAAMwOSlW7oGZzc3N9fX2atQQAAACSoFM113Fc1+n33X7fHQz6g0HfdZ3BoL+9vW1ZlrVuTbOiAAAAQCxKVdva2nKcnixsg0H/4sWLrVbLNM1SqTTNugIAAAB6lKpWKpV6vS4pbJZlmaZpmqZlyeZaMY0fNwMApk3VzMwbZcXBspExq+ymOim451Gq2sbGRq/bOXbs2Pnz5z0NO3XqqVpt1/7TnUfuu+/tanXn2jWoGph9qmZm3ofpCcuGv4/rLb3dXIdJZw8PBfvkjEIaqpywEnJFpLOTh8MC2DMrLm2yMJcX1KZscPWqmpm4GpUNRYpQ1PwPULXpo3rCg4PRIe9ZMMpukiecQqlqlmV1O+2NjY0bN25cv37jrWs7m5ubxWLx5fXM8uqmZ7SZpinlm5yqada4GmH5K6yYBZLAvORHIsR0sFHXWzUz8/MZw8iI4udvSr1y1cxkzKoio5CGrIa6F5fPTiStmpnoIFFLQVUmS3ChbBW4b0y+AE4IabwcUdnB1whVmyq6J9yDuSHcY8fe9eTPo1LVTNPstFuWZb1nN26/b99+397a2rq88Y3LT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sO3HHn9sKb+Uz+eXlpZOnz69tLT07LPP9rod76ds+XxezFbJZjX+PkZ1KtnU6Laa7IH0NyJfpOsWs/64GiOjQY10lYyyMHWUN1LpdApDajMP6XJj2qd+eEycxRc1Xal562edKKvh79yDB7JssLPNEnkgqSxjZlyqpvh1BGy1gyeJqrmCbT5mW21xcbFu2w3bbtbrzUaj1Wy0m812q9Vpt7udjidsi4uLckZhcoUbuhyDyRv+tIx0WmGrsenlsuNmi0RnECeGMGfUVpJXtXRaShqWAFGbecQXfNaFKPSi4kRzZr4/n1TswKmMQhpVNWJ+rUZXifitHT/ClijLmBld1fyqcZ2i9KYBVTtIFA8Vg+TU928h/+AnvWdKVcvlcvVarW7XAmGr88LW7nU7uVxuhEu8d9C5GDH5EYxGEjfK5GfSzwB+X6mc1TLPWKJQtcOEUtUWFhbs3d1Q2BqUsC0sLEyybqw1JtlK00CtahhSAyMCUQNgsihV7eFkTLOuU4fWLk9soWkAAHAXgqihAAAAZgeoGgAAgNkBqgYAAGB2+H/Xbbi+fv4HJAAAAABJRU5ErkJggg==" alt="" />

原来使用的是start.sp1启动脚本,用来调用start_locust.py,而后再由start_locust.py启动locust并载入用例locust_test.py

原powershell脚本如下:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA5sAAAB1CAIAAABPr2IoAAAgAElEQVR4nO2dT5K0rNLFXVSPai89rYhvF0avoGbuoGdMawGOnhU46Q28N1yE3wD/kJAJiaKlVecXxL3vU60IiHI8pFj9HwAAAAAAAFemGobhf//73/y/4J3p+z61SWfquq5Np8yxM9GN+7ap67ppk4c9BX3bclXpzLoK9K05TcXPVJbd6ExO153o2+acPbRvm6zqpPpp3zbXuRYBACCbCnL2g1CMaXZ879LSdxiGSf9Kw67VsytG0THbNfqEyyQP5pC2IuMfxHz9Hcle3q8r4VuyM8k2Ho+6oTlfTdf6NezbhlTIKkATbBdlPh3RBtxHDApPUF7Jsp4uY5t3pq7rpvmARxsAPp61RszFgUf7WSRN08CxGgdWdp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2iZl+JtwTYatN13VVdVXVWNyljibVrm9XzRhEs2r78mwPxOzAZFqzin2Sm91oHi1DM/2vqG7w6S3DijruhZ0PaQHS7AdGJe/2fEYiwGgD4tyARNJy5lMFWHKxt33JI1TdXCKlp54TZSzcwGQUJCQkLKTtE4Wm/0ikqcn6/Uq/HBop7Sn/xFQ6uK0yIunmggI9Y4Wsi5+WNSiXfCsjza/3ib1p6F9GJA6eblGu3r529pKDcIlSfim25uutirP/zabemCBaolYh+62wQT6KXPgqqH7HMBalP0AwTCyfKad4WAS6/2xXTOjaEI6U8tkIp8P93qQ9EiISEhnSqJHm3mUFH0C1gfmHKjaZHeOb32Anzdx8OOTptquvqbYUhISEhIe6TMtQ6ElPfCPhKXtO8kIb1/evEF+Pu93f68RtpSUyhaJCQkpFOlIh4tDFokpIIJF+AFEhQtEhIS0qmS79EGYWHiWxdcZNhH+DpISPslXIBXSVC0SEhISKdKrEeLhISEhBRLULRISEhIp0psHC0S0raU/HLp+I43Yq+RrpqgaJGQkJBOlXyPFgAAAAAAgGvx/wj+TDN9RDcRAAAAAElFTkSuQmCC" alt="" />

现在要做的是,使用bat批处理文件实现相同功能。其实查看代码,比较简单,就是让用户传入两个参数,然后再将参数传给启动locust的脚本。知道怎么做了,就好办了,bat批处理文件脚本是通过set /p来传入参数的,那么稍微改下就好了。新建文本,重命名为start.bat。右键编辑。写入代码如下:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxwAAADoCAIAAADqjnXNAAAgAElEQVR4nO2dO7LkNpZAuZFZRSvG4ApmEaqItmD2GirktEuvdiCno1wsQJasNsvhBhQhZxYwLYzBHz4XwAUJZubLd07cCKkyQRD8JHF4AfINDgAAAAAuMwT/ss4NW4w3rtUaNwxrTPONK+rCNA4hxl4oBgAAAG+JJ1WTc4Nzu+KYG73qA0nVNA7DOPUqBgAAAO/KJlWzc4NzUWplTD7pyjS+vFTN0ziM9RYqiwEAAMD7sknVJOWlkCqkCgAAAHRsUmWcm8KPByl35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QRBLDH/8EUjPYUJ7DinNG3mxWFSU01o0KEgmbbWltvTl12DZL+EaV0tL/OlLLpdGEARBEATxjAikKh5T20zI/9zPReWSRkqpiqoSRvTEwcHyQCFBEARBEMQzwpMqSVAW71mTSQXFOSVVf2QU7chdSVO4CgOFBEEQBEEQz4ogU5UKyhfPcta5TaF7rfOizkpVFLtjrctKqTKCIAiCIIgXjHhOlS89X8Ihti9RGsmfaS5JlZhwOupfhClJjy3L7pOl9lnqkVeJhkcQBEEQBPGsiKWqML5WeFhvCKeNl0uusqVb6R+72zH8RxAEQRDEC0c4p6rxPVU//RL4k18+8KovwXys8gwt+YE+ycAYEyQIgiAI4nWiMlGdIAiCIAiC0ARSRRAEQRAE0SGEN6pHb+MkCIIgCIIgqoFUEQRBEARBdIjh6S0gCIIgCIJ4g0CqCIIgCIIgOsTgAAAAAOAySBUAAABAB5AqAAAAgA4gVQAAAAAdQKoAAAAAOvD/jGS1SNG2ijwAAAAASUVORK5CYII=" alt="" />

其实此时功能已经实现,但算不上完美,所有再加点提示,体验就更好了。

比如输入为空提示,为窗口加上标题、时间,

@echo off
:menu
echo 使用说明:
echo 先输入需要压测的网站host,在输入路由,即会自动打开页面、进行压力测试
:start1
title 这是一个一键压测工具,现在时间是:%time%
echo 第一步,请先输入压测网站host(例如:http://www.cnblogs.com)
set /p a=:
if "%a%" == "" goto sorry1
echo 您输入的压测host是:%a% :start2
title 这是一个一键压测工具,现在时间是:%time%
echo 第二步,然后再输入压测网站host后的路由(例如:/mikasama)
set /p b=:
if "%b%" == "" goto sorry2
echo 您输入的压测路由是:%b% python .\start_locust.py %a% %b%
pause
goto end :sorry1
echo Warnning!!!Please enter the host!(eg:http://www.cnblogs.com)
goto start1 :sorry2
echo Warnning!!!Please enter the rout!(eg:/mikasama)
goto start2 :end
echo 不要瞎点,已经开始测试了

效果如下:

一键压测工具改造(locust)

好了,现在可以愉快的玩耍了。注意,目前这个工具只针对单个页面进行压力测试,下一篇再讲如何将locust作为生产力工具,实现关联测试,各种场景如多用户每个用户只执行一次、多用户使用不用参数进行测试等等。

=====================================locust第一部分已完结================================

有个想法,也不知道可不可行,用django搭建一个性能测试平台,将locust整合进去。只要点点点就可以进行压力测试,不过听起来有点像是在造*,毕竟接口测试的工具实在太多了,比如postman、jmeter等。试想一下,比如我想测试一个接口,先不考虑验签等问题,它需要传5个参数,其中有个参数需要传大量不同数据,现在我只需要将固定的参数填上,而那个需要大量数据的参数,它的value我点击下上传按钮,将已经准备好的csv、excel或者json,都好,上传完毕,选择压力测试运行模式(施压模式,如所有虚拟用户循环使用数据、每个用户只能使用一个等等),点击start按钮,开始压测,并自动跳转到对应监控页面。虽然只是想想,但感觉好激动啊,一旦实现了,那做起性能测试来,太方便啦。而且还可以设计一个接口出来,用来修改脚本,定时器什么的肯定要的,只要有脑洞,都可以做上去吧。

灵感来自于公司运维同学正在做的自动化运维平台,整个运维过程,只要点点点,这种思想其实应该算是来自jenkin吧。当我发现他们正在做这个的时候,特别兴奋,也许,性能测试也可以这么整,于是有了上面的“胡思乱想”。无论如何,试试吧。记在这里,不要忘了此想法,尽快实现。

有个疑问,locust是基于flask的,那么搭这平台用django还是flask呢?打住打住,不要想了,请先动手,谢谢。

一键压测工具改造(locust)

时间:20180127