摘要: 1、ps 显示进程信息,参数可省略 -aux 以BSD风格显示进程常用 -efH 以SystemV风格显示进程 -e , -A 显示所有进程 a 显示终端上所有用户的进程 x 显示无终端进程 u显示详细信息 f 树状显示 w 完整显示信息 l 显示长列表 各列输出字段的含义:USER 进程所有者PI 阅读全文
posted @ 2016-02-19 15:38 Alan1109 阅读(186) 评论(0) 推荐(0) 编辑
摘要: I see this only in Chrome.The full error message reads:"org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other el... 阅读全文
posted @ 2016-01-07 15:51 Alan1109 阅读(918) 评论(0) 推荐(0) 编辑
摘要: 转自http://my.oschina.net/zenglingfan/blog/134872写代码的时候,经常会碰到需要把一个List中的每个元素,按逗号分隔转成字符串的需求,以前是自己写一段比较难看的代码,先把字符串拼出来,再把最后面多余的逗号去掉;虽然功能可以实现,但总觉得最后加的那一步操作很... 阅读全文
posted @ 2015-12-25 10:17 Alan1109 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 转自http://www.cnblogs.com/liu-ke/p/5008064.html什么是WebserviceWeb service是一个平台独立的,低耦合的,自包含的、基于可编程的web的应用程序,可使用开放的XML(标准通用标记语言下的一个子集)标准来描述、发布、发现、协调和配置这些应用... 阅读全文
posted @ 2015-12-14 13:33 Alan1109 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 转自http://www.oschina.net/question/82993_75533目录:hashCode()和equals()的用法重写默认实现使用Apache Commons Lang包重写hashCode()和equals()需要注意记住的事情当使用ORM的时候特别要注意的hashCod... 阅读全文
posted @ 2015-11-05 09:42 Alan1109 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1. HTTP协议基本认证2. HTTP协议 压缩3. HTTP协议 缓存4. HTTP协议 代理5. HTTP协议 Cookie 阅读全文
posted @ 2015-10-29 16:59 Alan1109 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 最近工作中,处理最多的就是xml和json类型response,在SoapUI中request里面直接添加assertion处理json response的话,可以采用以下方式:import groovy.json.JsonSlurperdef response= testRunner.testCa... 阅读全文
posted @ 2015-10-13 22:58 Alan1109 阅读(1302) 评论(0) 推荐(0) 编辑
摘要: 最近测试中,使用SoapUI时需要读取excel中的法文数据作为参数,groovy script中使用的是jxl进行excel的读取,开始时一直显示乱码,而后在script中添加如下wookbook setting,字符便可正常显示WorkbookSettings setting=new Workb... 阅读全文
posted @ 2015-10-09 09:54 Alan1109 阅读(297) 评论(0) 推荐(0) 编辑
摘要: From http://www.robert-nemet.com/2011/11/groovy-xml-parsing-in-soapui.htmlIntroduction Since soapUI allows users to add Groovy scripts in large numbe... 阅读全文
posted @ 2015-09-28 13:57 Alan1109 阅读(2325) 评论(0) 推荐(0) 编辑
摘要: 1. Run special step:testRunner.runTestStepByName("stepName/requestName")get it's response:testRunner.testCase.testSteps["stepName/requestName"].testRe... 阅读全文
posted @ 2015-09-28 13:38 Alan1109 阅读(400) 评论(0) 推荐(0) 编辑