会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
77的小白
管理
上一页
1
2
3
4
5
6
7
下一页
2022年3月9日
集成swagger
摘要: 集成swagger 部署配置 在pom文件中添加插件swagger: <properties> <swagger.version>2.7.0</swagger.version> </properties> <dependencies> <dependency> <groupId>io.springf
阅读全文
posted @ 2022-03-09 15:47 77的小白
阅读(62)
评论(0)
推荐(0)
2022年3月8日
使用springboot开发接口:get接口、返回cookie的get接口、需要cookie的get接口
摘要: 使用springboot开发接口 配置环境 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLS
阅读全文
posted @ 2022-03-08 17:41 77的小白
阅读(376)
评论(0)
推荐(0)
HttpClient相关:模拟get、post请求,获取cookie,等信息
摘要: HttpClient框架 模拟发送一个get请求 package com.course.httpclient.demo; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.clien
阅读全文
posted @ 2022-03-08 09:37 77的小白
阅读(379)
评论(0)
推荐(0)
2022年3月7日
moco框架学习,模拟get、post、带参数、不带参数、cookie、header
摘要: mock平台 moco框架 下载地址:https://repo1.maven.org/maven2/com/github/dreamhead/moco-runner/1.3.0/ moco执行: java -jar ./moco-runner-1.3.0-standalone.jar http -p
阅读全文
posted @ 2022-03-07 11:12 77的小白
阅读(318)
评论(0)
推荐(0)
2022年3月4日
TestNG-extentReport测试报告
摘要: 配置pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta
阅读全文
posted @ 2022-03-04 13:45 77的小白
阅读(80)
评论(0)
推荐(0)
2022年3月3日
TestNG中实现多线程、超时
摘要: 多线程测试 多线程测试-注解方式实现 使用注解@Test的属性:invocationCount(线程数)、threadPoolSize(线程池) package com.course.testng.multiThread; import org.testng.annotations.Test; pu
阅读全文
posted @ 2022-03-03 22:15 77的小白
阅读(145)
评论(0)
推荐(0)
TestNG忽略测试、分组、异常测试、依赖测试、参数化
摘要: 忽略测试 添加属性@Test(enabled = false ) package com.course.testng; import org.testng.annotations.Test; public class IgnoreTest { @Test(enabled = false) publi
阅读全文
posted @ 2022-03-03 17:45 77的小白
阅读(73)
评论(0)
推荐(0)
TestNG注解BeforeGroups、AfterGroups、BeforeClass、AfterClass和Test同一个文件无法被执行解决办法
摘要: #注解BeforeGroups、AfterGroups不执行解决办法 TestNG6.14.3可以,TestNG7.4.0不可以 <dependencies> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifac
阅读全文
posted @ 2022-03-03 16:18 77的小白
阅读(143)
评论(0)
推荐(0)
2022年3月1日
TestNG基本注解@Test、@BeforeMethod、@AfterMethod、@BeforeClass、@AfterClass
摘要: TestNG 比Junit涵盖更全的测试框架 Junit更适合隔离性比较强的单元测试 TestNG更适合复杂的集成测试 注解 @Test 用途:用来把方法标记为测试的一部分 package com.course.testng; import org.testng.annotations.Test;
阅读全文
posted @ 2022-03-01 17:31 77的小白
阅读(352)
评论(0)
推荐(0)
git常用命令
摘要: Git命令 #克隆仓库 git clone https://gitee.com/tester77/auto.git #拉取最新代码 git pull #添加文件 git add test.txt #提交文件 git commit -m '提交内容' #推送到远程 git push #查看文件状态 g
阅读全文
posted @ 2022-03-01 15:40 77的小白
阅读(13)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页