上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 50 下一页
摘要: 引言 JMeter的PerfMonMetricsCollector插件支持收集服务器的性能指标,ResponseTimesOverTime、TransactionsperSecond插件可以收集接口的性能指标。但前面这些插件使用过程中对执行机的硬件性能消耗非常大,尤其在gui模式下几乎无法正常执行。 阅读全文
posted @ 2020-04-05 13:37 小强找BUG 阅读(979) 评论(0) 推荐(0)
摘要: 一、概述 libimobiledevice可以理解为Linux系统下的iTunes,破解了iTunes的通信协议。 依赖:[https://github.com/libimobiledevice/libimobiledevice](https://github.com/libimobiledevic 阅读全文
posted @ 2020-04-05 11:29 小强找BUG 阅读(1593) 评论(0) 推荐(0)
摘要: 原文:https://dzone.com/articles/10-essential-testing-tools-for-java-developers 翻译整理 以下为译文: 最近,我写了很多面向 Java 开发者的文章,介绍了一些值得开发者学习的编程语言、库以及框架。面对多项技术能力,如果你的精 阅读全文
posted @ 2020-04-05 09:08 小强找BUG 阅读(303) 评论(0) 推荐(0)
摘要: junit 5中三种不同指定用例测试顺序 JUnit4 与 JUnit 5 常用注解对比 JUnit5集成测试 在pom.xml添加 <build> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.19</vers 阅读全文
posted @ 2020-04-04 15:24 小强找BUG 阅读(931) 评论(0) 推荐(0)
摘要: mac安装charles 对于mac下安装charles,网上教程很多,这里不再进行说明,如果有条件的话,最好进行购买。 charles捕获http请求 1、Proxy --> macOS Proxy 先打开代理,使得mac上所有请求都通过charles进行代理。 15528325417514.jp 阅读全文
posted @ 2020-04-04 14:53 小强找BUG 阅读(4265) 评论(0) 推荐(0)
摘要: 1.Appium自带的Inspector工具 2.Macaca的app-inspector工具,具体地址:https://macacajs.github.io/app-inspector/cn/ setp1.获取设备ID xcrun simctl list setp2:从命令行启动 app-insp 阅读全文
posted @ 2020-04-04 10:57 小强找BUG 阅读(1552) 评论(0) 推荐(0)
摘要: Spring 远程调用Rest服务工具类,包含Get、Post、Put、Delete四种调用方式。 依赖jar <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <v 阅读全文
posted @ 2020-04-02 00:14 小强找BUG 阅读(1249) 评论(0) 推荐(0)
摘要: 主要用于post接口测试,测试reset风格的接口。 一、创建一个Base类 创建RestTemplate和HttpHeaders 1 package com.tongtech; 2 3 import org.springframework.http.HttpHeaders; 4 import or 阅读全文
posted @ 2020-04-01 18:33 小强找BUG 阅读(442) 评论(1) 推荐(0)
摘要: 只是单纯的记录一下如何用TestRestTemplate访问受security保护的api,供以后查阅。 @Slf4j @RunWith(SpringRunner.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironmen 阅读全文
posted @ 2020-04-01 18:32 小强找BUG 阅读(1777) 评论(0) 推荐(0)
摘要: 这套框架的报告是自己封装的 一般token会在登录接口返回结果中呈现,从代码层面获取token的方式有很多种,我是使用jsonpath这个json路径语言去匹配token所在路径的key值 按 Ctrl+C 复制代码 按 Ctrl+C 复制代码 没有使用testng.xml的情况下调试testCas 阅读全文
posted @ 2020-04-01 18:18 小强找BUG 阅读(515) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 50 下一页