
接口测试
wise622453
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
分享C/S服务端接口测试 http协议下xml格式数据 上传和解析(原创)
直接上代码1.为xml 和string,byte 相互转换package xxxxx;import java.io.ByteArrayInputStream;import java.io.File;import java.io.IOException;import java.io.UnsupportedEncodingException;import o原创 2012-08-02 23:49:26 · 1865 阅读 · 0 评论 -
接口测试中 对xml下发内容的解析断言
import com.app.util.EncryptUtil;import com.juyun.test.util.Java2Xml;import com.juyun.test.util.XmlUtil;public class TestgetKeyword {****BufferedReader reader=null; @Before原创 2012-08-07 22:24:42 · 1148 阅读 · 0 评论 -
Nested exception: The entity name must immediately follow the '&' in the entity reference.问题的解决
先来说说异常当我使用dom4j来将String类型转换成Document 时String 里面包含了“&”符号,结果异常就这样出来了Nested exception: The entity name must immediately follow the '&' in the entity reference此时,该如何解决呢?解法:通过将String 内容replac原创 2012-08-10 16:45:43 · 1881 阅读 · 0 评论