12 2018 档案

locust性能测试使用方法
摘要:1 from locust import HttpLocust, task, TaskSet 2 import os 3 4 5 ''' 6 -f 指定性能测试脚本文件 7 --host 指定被测试应用的URL的地址 8 --port 端口设置,默认8089 9 --no-web 表示不使用Web界面运行测试 10 -c 设置虚拟用户数 11 -r 设置每秒启动虚拟用户数 ... 阅读全文

posted @ 2018-12-31 15:17 WapN 阅读(489) 评论(0) 推荐(0) 编辑

Linux下安装python
摘要:一、安装python 1. 安装依赖环境 # yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel lib 阅读全文

posted @ 2018-12-21 22:43 WapN 阅读(279) 评论(0) 推荐(0) 编辑

python访问Oracle及Mysql数据库
摘要:# !/usr/local/python# -*- coding: utf-8 -*-import cx_Oracleimport pymysql# oracle链接数据库 student1 = {'id': 1011, 'name': 7, 'age': 18}conn = cx_Oracle.c 阅读全文

posted @ 2018-12-21 18:37 WapN 阅读(678) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示