07 2018 档案

摘要:Jmeter—3 http请求—content-type与参数 收藏来自:https://www.cnblogs.com/dinghanhua/p/5646435.html#undefined 本文讲三种content-type以及在Jmeter中对应的参数输入方式 第一部分:目前工作中涉及到的co 阅读全文
posted @ 2018-07-12 16:27 简单的回忆哈 阅读(277) 评论(0) 推荐(0)
摘要:from locust import HttpLocust, TaskSet, taskimport pymysqlimport randomclass UserBehavior(TaskSet): def on_start(self): db = pymysql.connect("ip地址", " 阅读全文
posted @ 2018-07-06 09:43 简单的回忆哈 阅读(358) 评论(0) 推荐(0)
摘要:db=pymysql.connect("ip地址","用户名","密码","数据库")cursor=db.cursor()cursor.execute("select * from zj_class limit 5")data=cursor.fetchall()for i in range(5): 阅读全文
posted @ 2018-07-06 09:39 简单的回忆哈 阅读(99) 评论(0) 推荐(0)