Httpclient---------框架
摘要: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
阅读(82)
推荐(0)
shell文件执行
摘要: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
阅读(131)
推荐(0)
springboot的demo
摘要: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
阅读(81)
推荐(0)
httpclient-----------post
摘要:<dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20170516</version></dependency> [ { "description":"这是我们的第一个post的mock例子
阅读全文
posted @
2021-08-02 04:34
thy520
阅读(52)
推荐(0)
httpclient---------------------getCookies
摘要:配置 [ { "description":"这是一个会返回cookies的数据", "request":{ "uri":"/getcookies", "method":"get" }, "response":{ "cookies":{ "login":"true" }, "text":"恭喜你获取c
阅读全文
posted @
2021-08-02 03:30
thy520
阅读(64)
推荐(0)
httpclient-----get对应的cookies
摘要: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
阅读(82)
推荐(0)
moco---对应mock测试
摘要:地址: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
阅读(77)
推荐(0)
testng--测试报告
摘要:pom.xml <dependencies> <dependency> <groupId>com.relevantcodes</groupId> <artifactId>extentreports</artifactId> <version>2.41.1</version> </dependency
阅读全文
posted @
2021-08-01 19:33
thy520
阅读(184)
推荐(0)
testng--超时测试
摘要: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
阅读(28)
推荐(0)
testng---异常测试/依赖测试
摘要:异常测试 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
阅读(77)
推荐(0)