2021年8月5日
摘要: http://hc.apache.org/ package com.course.httpclient;import org.apache.http.HttpResponse;import org.apache.http.client.HttpClient;import org.apache.htt 阅读全文
posted @ 2021-08-05 14:14 thy520 阅读(64) 评论(0) 推荐(0) 编辑
摘要: sql.bat 文件 @echo offcls:menutitle oracle快速连接clscolor 0Aecho.echo echo 请选择需连接的数据库然后回车echo echo.echo 1.ppospdt@XXXX--7777echo.echo 2.pdtbuing1@XXXX--999 阅读全文
posted @ 2021-08-05 14:07 thy520 阅读(86) 评论(0) 推荐(0) 编辑
  2021年8月2日
摘要: 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-instance" 阅读全文
posted @ 2021-08-02 06:03 thy520 阅读(52) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20170516</version></dependency> [ { "description":"这是我们的第一个post的mock例子 阅读全文
posted @ 2021-08-02 04:34 thy520 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 配置 [ { "description":"这是一个会返回cookies的数据", "request":{ "uri":"/getcookies", "method":"get" }, "response":{ "cookies":{ "login":"true" }, "text":"恭喜你获取c 阅读全文
posted @ 2021-08-02 03:30 thy520 阅读(33) 评论(0) 推荐(0) 编辑
摘要: package com.course.cookie;import org.apache.http.HttpResponse;import org.apache.http.client.CookieStore;import org.apache.http.client.methods.HttpGet; 阅读全文
posted @ 2021-08-02 03:07 thy520 阅读(51) 评论(0) 推荐(0) 编辑
  2021年8月1日
摘要: 地址:https://repo1.maven.org/maven2/com/github/dreamhead/moco-runner/ 下载:moco-runner-0.11.0-standalone.jar 配置 java -jar ./moco-runner-0.11.0-standalone. 阅读全文
posted @ 2021-08-01 21:59 thy520 阅读(47) 评论(0) 推荐(0) 编辑
摘要: pom.xml <dependencies> <dependency> <groupId>com.relevantcodes</groupId> <artifactId>extentreports</artifactId> <version>2.41.1</version> </dependency 阅读全文
posted @ 2021-08-01 19:33 thy520 阅读(144) 评论(0) 推荐(0) 编辑
摘要: package com.Paramter;import org.testng.annotations.Test;public class timeTest { @Test(timeOut = 2000) public void timeSuccesTest()throws InterruptedEx 阅读全文
posted @ 2021-08-01 17:50 thy520 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 异常测试 package com.suite;import org.testng.annotations.Test;public class ExpectedTest { @Test(expectedExceptions = RuntimeException.class) public void r 阅读全文
posted @ 2021-08-01 16:21 thy520 阅读(58) 评论(0) 推荐(0) 编辑