摘要: 不废话 1、安装python库 pip install locustio pip install pyzmq 2、脚本 命名为locust_test.py 1 from locust import HttpLocust,TaskSet,task 2 3 import subprocess 4 5 i 阅读全文
posted @ 2017-09-14 22:52 彩笔杀手 阅读(461) 评论(0) 推荐(0)
摘要: 1 f = open("xx.txt",'w') 2 for i in range(1,50001): 3 str_i = str(i) 4 realname = "lxs"+str_i 5 phone = 13678101715 + i 6 email = "lxs" + str_i +"@126.com" 7 sql = 'insert ... 阅读全文
posted @ 2017-09-14 00:04 彩笔杀手 阅读(6023) 评论(0) 推荐(1)