![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
接口自动化
小轱辘.
这个作者很懒,什么都没留下…
展开
-
excel自定义样式,导出接口测试结果
导出效果图:Excel4J:https://github.com/Crab2died/Excel4JExcel模板自定义属性1.引用excel4j jar包<!-- https://mvnrepository.com/artifact/com.github.crab2died/Excel4J --><dependency> <groupId>com.github.crab2died</groupId> ...原创 2021-01-10 12:33:11 · 110 阅读 · 0 评论 -
HttpClient以multipart/form-data上传文件
1.抓包请求:2.代码实现public static String doPostUpload(String url, Map<String, ContentBody> mapParam, String headers) { // 创建请求连接,添加Cookie CloseableHttpClient closeableHttpClient = null; CookieStore cookieStore = new BasicCookieStore(...原创 2021-01-10 12:29:12 · 747 阅读 · 0 评论