• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






不知道名字

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2019年3月28日

python+selenium实例: 登录 与文本框输入内容,保存并返回断言标题的正确性
摘要: #coding: utf-8import unittestfrom selenium import webdriverimport time class LoginCase(unittest.TestCase): def setUp(self): #每个用例执行之前执行 print 'before 阅读全文
posted @ 2019-03-28 22:35 不知道名字 阅读(2493) 评论(0) 推荐(0)
 
密码破解之Hydra
摘要: 参数参考了David Camp -R继续从上一次进度接着破解 -S大写,采用SSL链接 -s <PORT>小写,可通过这个参数指定非默认端口 -l <LOGIN>指定破解的用户,对特定用户破解 -L <FILE>指定用户名字典 -p <PASS>小写,指定密码破解,少用,一般是采用密码字典 -P < 阅读全文
posted @ 2019-03-28 22:33 不知道名字 阅读(397) 评论(0) 推荐(0)
 
android monkey常用命令
摘要: Monkey稳定性测试常用命令: 1.adb shell monkey n 2.adb shell monkey -p com.android.calculator2 1000 3.adb shell monkey -p com.android.calculator2 --throttle 1000 阅读全文
posted @ 2019-03-28 14:19 不知道名字 阅读(736) 评论(0) 推荐(0)
 
MOCK SERVER 接口模拟
摘要: 开发过程中需要依赖一些接口,这些接口要么是搭建环境困难,要么是还没有实现,要么是交互比较复杂。这种情况下,使用mock server来mock这些接口,以便开发和测试能够正常进行。 工具选型 moco Moco is an easy setup stub framework. 安装 首先请安装jdk 阅读全文
posted @ 2019-03-28 11:09 不知道名字 阅读(637) 评论(0) 推荐(0)
 
python 接口自动化 使用unittest + requrests来测试jenkins的post接口
摘要: import unittestimport jsonimport requestsfrom requests.auth import HTTPBasicAuth#开启鉴权,所以要先导入这个 class JenkinPostCase(unittest.TestCase): def setUp(self 阅读全文
posted @ 2019-03-28 10:49 不知道名字 阅读(467) 评论(0) 推荐(0)
 
python 接口自动化 request get请求 json内容转换为python字典
摘要: 一、如果运行时,提示ModuleNotFoundError: No module named 'requests' 解决方法: 1、一定要切到Python3的主目录下安装requests。 2、如果提示已经安装,那原因是安装的路径不正确,需要先卸载。找到现在的安装目录(会提示),在CMD窗口切过去, 阅读全文
posted @ 2019-03-28 09:53 不知道名字 阅读(10705) 评论(0) 推荐(0)