会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
paulwang2018
博客园
首页
新随笔
联系
订阅
管理
2018年12月3日
jmeter返回结果的unicode码显示成中文的解决方案
摘要: 1.线程组右键添加后置处理器->Beanshell PostProcessor. 2.在Beanshell PostProcessor 中添加以下代码:
阅读全文
posted @ 2018-12-03 19:53 paulwang2018
阅读(187)
评论(0)
推荐(1)
编辑
jmeter返回结果显示成json等各种格式
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2018-12-03 19:49 paulwang2018
阅读(0)
评论(0)
推荐(0)
编辑
2018年11月29日
mac上安装Chromedriver注意事宜
摘要: mac上安装Chromedriver注意事宜: 1.网上下载chromedriver文件或在百度网盘找chromedirver文件 2.将 chromedriver 放置到:/usr/local/bin/,操作如下: 打开Mac终端terminal : 进入 chromedirve文件所在目录,输入
阅读全文
posted @ 2018-11-29 11:18 paulwang2018
阅读(3250)
评论(0)
推荐(0)
编辑
【非原创】设置Jmeter默认中文页面
摘要: 1、在Jmeter的安装目录下的bin目录中找到 jmeter.properties这个文件,用文本编辑器打开。 2、大概在37行,找到:#language=en 3、将其修改为:language=zh_CN 这样,再次打开Jmeter就是默认中文了。
阅读全文
posted @ 2018-11-29 11:01 paulwang2018
阅读(120)
评论(0)
推荐(0)
编辑
【非原创】python3 request请求,解析返回字符为汉字
摘要: import requests import json url = 'http://192.168.1.68:5000/customer/login' headers = {'Content-Type':'application/json;charset=UTF-8'} data = { 'cell
阅读全文
posted @ 2018-11-29 10:58 paulwang2018
阅读(342)
评论(0)
推荐(0)
编辑
2018年10月30日
配置文件yaml
摘要: import yaml import yaml,os from ruamel import yaml desired_caps = { 'platformName': 'Android', 'platformVersion': '7.0', 'deviceName': 'A5RNW1831...
阅读全文
posted @ 2018-10-30 15:34 paulwang2018
阅读(275)
评论(0)
推荐(0)
编辑
python队列 和线程
摘要: import queue #设置队列上限maxsize=10 q=queue.Queue(maxsize=10) #往队列中加10个数据 for i in range(100): if q.qsize() >= 10: #存放的数据达到上限maxsize,插入会导致阻塞 break else: q.put(i) # 从队列...
阅读全文
posted @ 2018-10-30 15:28 paulwang2018
阅读(224)
评论(0)
推荐(0)
编辑
【转】断言小例
摘要: def f(): return 3 def test_function(): a=f() assert a % 2==1 test_function() # import pytest def is_true(a): if a>0: return True else: return False def test...
阅读全文
posted @ 2018-10-30 15:23 paulwang2018
阅读(116)
评论(0)
推荐(0)
编辑
【转】微信机器人
摘要: #-*- coding: utf-8 -*-import refrom wxpy import *import jiebaimport numpyimport pandas as pdimport matplotlib.pyplot as pltfrom scipy.misc import imre
阅读全文
posted @ 2018-10-30 15:20 paulwang2018
阅读(230)
评论(0)
推荐(0)
编辑
android app 自动化中虚拟键盘的处理方式(key-value)
摘要: # -*- encoding=utf8 -*- __author__="paul" __title__="test payment 1000 times" __desc__=''' this is a payment auto test script for running 1000 times. ''' from appium import webdriver import os impor...
阅读全文
posted @ 2018-10-30 15:17 paulwang2018
阅读(1017)
评论(0)
推荐(0)
编辑
下一页
公告