选择比努力更重要,责任比能力更重要,情商比智商更重要

随笔分类 -  接口自动化

java+jenkins+testng+selenium+ant
摘要:1、安装jdk7以上2、http://mirrors.jenkins-ci.org/windows/latest 下载最新的war包3、cmd命令在war包目录下执行:java -jar jenkins.war4、输入http://localhost:8080可以打开jenkins页面5、安装Tor 阅读全文

posted @ 2017-06-17 11:31 测试小强 阅读(830) 评论(0) 推荐(0)

java对excel操作
摘要:package test; import jxl.*; import jxl.Cell; import java.io.*; /** * 读取excel */ public class TestExcel { public static void readExcel(String filePath) { ... 阅读全文

posted @ 2017-05-27 16:59 测试小强 阅读(328) 评论(0) 推荐(0)

基于testng框架的web自动化测试
摘要:package baidutest; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.ope 阅读全文

posted @ 2017-05-27 15:24 测试小强 阅读(1055) 评论(0) 推荐(0)

http协议发送post请求
摘要:package post; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.URL; import java.net.URLConnection; ... 阅读全文

posted @ 2017-05-17 15:41 测试小强 阅读(3807) 评论(0) 推荐(0)

java发送soapui格式的报文
摘要:使用java对soapui报文进行发送 public class Test { @Test public void TestOne() throws Exception { String urlString = ip+端口+接口; //请求地址 String xmlFile = "D:\\test. 阅读全文

posted @ 2017-04-26 11:22 测试小强 阅读(2653) 评论(0) 推荐(0)