03 2017 档案
摘要:当你有一组应用程序接口(API)只允许用Writer或Reader作为输入,但你又想使用String,这时可以用StringWriter或StringReader。 假设有下面这样一个process方法,给这个方法传递一个Person对象并把处理结果写入到一个Writer对象: 这是设计API的一种
阅读全文
摘要:http://blog.csdn.net/wangxh_haha/article/details/52250649 在 testng.xml 中指定参数可能会有如下的不足: 1.如果你压根不用 testng.xml. 2.你需要传递复杂的参数,或者从Java中创建参数(复杂对象,对象从属性文件或者数
阅读全文
摘要:http://blog.csdn.net/wx19900503/article/details/54944841 https://github.com/rest-assured/rest-assured/wiki/Usage
阅读全文
摘要:failed configuration: @BeforeClass setup java.net.ConnectException:Connection timed out: connect 端口变了: 8443->443
阅读全文
摘要:Access restriction: The method setSSLParameters(SSLParameters) from the type SSLSocket is not accessible due to restriction on required library C:\Pro
阅读全文
摘要:https://sookocheff.com/post/api/rest-assured-tests-against-api-gateway/ VPN Configuring REST-assured for Amazon API Gateway Posted on December 13, 201
阅读全文
摘要:1,String 数组转成 list<String> String[] s={"1","2","3","5","6"}; List<String> listA = Arrays.asList(s); String 数组在转成 list<String>后, 直接对该list进行操作, 会出异常,例如:
阅读全文
摘要:package com.test; import java.util.ArrayList;import java.util.Iterator;import java.util.List; public class ArrayListDemo { public static void main(Str
阅读全文
浙公网安备 33010602011771号