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

yxchun

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 31 下一页

2021年12月27日

将idea 中 代码提交至码云

摘要: 1)在码云上面创建仓库 2)将gitee插件添加到idea 重启idea,登录gitee 安装git 地址:https://www.git-scm.com/download/win 参考博客:https://blog.csdn.net/wawawawawawaa/article/details/81 阅读全文

posted @ 2021-12-27 18:12 yxchun 阅读(375) 评论(0) 推荐(0)

2021年12月13日

处理器 i3 i5 i7 i9 区别,以及K F 区别

摘要: 【i5,i7是什么意思】 CPU是由Intel生产的,因此CPU的命名也是intel来完成的,所以我们需要了解一下intel的命名法则。 CPU分为高中低端,最低端的是G系列,其次是低端i3系列,然后是中端i5系列,高端i7系列和至尊i9系列。 intel更新CPU型号的时候是i3 6100,i3 阅读全文

posted @ 2021-12-13 18:04 yxchun 阅读(11578) 评论(0) 推荐(1)

2021年11月28日

testng 接口测试,读取Excel表格数据中json数据,做数据驱动

摘要: public class TestRegister { //fastjson解析数据 @Test(dataProvider="datas3") public void test4(String paramter){ String url = "https://10.1.30.18:8443/demo 阅读全文

posted @ 2021-11-28 11:01 yxchun 阅读(310) 评论(0) 推荐(0)

解析json数据,将json转为实体类

摘要: public class TestFASTJSON { public static void jsonToT(){ String param = "{\"username\":\"17788332570\",\"pwd\":\"123456\"}"; RegisterParam registerPa 阅读全文

posted @ 2021-11-28 10:50 yxchun 阅读(501) 评论(0) 推荐(0)

解析json数据,将json转为Map

摘要: public static void jsonToMap(){ String param = "{\"username\":\"17788332570\",\"pwd\":\"123456\"}"; Map<String,String> params = (Map<String, String>) 阅读全文

posted @ 2021-11-28 10:49 yxchun 阅读(509) 评论(0) 推荐(0)

testng 接口测试,读取Excel表格数据,做数据驱动2(读取某些固定列数据)

摘要: testng public class TestRegister { @Test(dataProvider="datas") public void test1(String,url,String username,String pwd){ Map<String, String> params = 阅读全文

posted @ 2021-11-28 10:16 yxchun 阅读(110) 评论(0) 推荐(0)

2021年11月27日

testng 接口测试,读取Excel表格数据,做数据驱动1(按照顺序读取Excel数据)

摘要: 1、测试类 public class TestRegister { @Test(dataProvider="datas") public void test1(String username,String pwd){ String url = "https://10.1.30.18:8443/dem 阅读全文

posted @ 2021-11-27 17:11 yxchun 阅读(334) 评论(0) 推荐(0)

Workbook读取Excel数据

摘要: //讀取Excel /* *startRow 开始列 *endRow 结束列 * startCell 开始行 * endCell 结束行 */ public static Object[] [] readExcel(String url,int startRow,int endRow,int sta 阅读全文

posted @ 2021-11-27 17:04 yxchun 阅读(1593) 评论(0) 推荐(0)

遍历 Object[] [] 数组的值

摘要: Object[] [] datas = readExcel1("C:\\Users\\liao\\Desktop\\register.xls"); for(Object[] data:datas){ for(Object obj:data){ System.out.println(obj); } } 阅读全文

posted @ 2021-11-27 16:45 yxchun 阅读(250) 评论(0) 推荐(0)

HttpClient发送Post与Get请求

摘要: 发送Post请求 public class PostDemo { public static void main(String[] args) throws IOException { //请求URL String url = ""; //请求方式 HttpPost post = new HttpP 阅读全文

posted @ 2021-11-27 13:24 yxchun 阅读(205) 评论(0) 推荐(0)

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 31 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3