摘要: 1、安装mysql的驱动包· 为了连接mysql数据库,还需要下载"mysql-connector-java.jar",可以从MySQL官网下载新建测试计划,加载jar包路径,如下:2、创建JDBC连接,并配置好数据连接、用户名、密码(请注意连接格式)3、创建JDBC的select请求,注意要执行多... 阅读全文
posted @ 2017-08-16 10:31 谷白 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 性能测试工程师需要掌握的知识体系。1 性能工具专题1.1 测试工具1.1.1LoadRunner1.1.2 Jmeter1.1.3 SoapUI1.1.4 其他工具或自定义开发1.2 DataGenerator1.2.1 DataFactory1.2.2 PL/SQL Developer的Data ... 阅读全文
posted @ 2017-08-16 09:34 谷白 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 在windows上安装Jenkins有两种方式:(1)jar流在命令行中运行:java -jar jenkins.war浏览器访问 localhost:8080,创建初始管理员帐号即可。(2)tomcat流本文主要介绍第二种方式tomcat流1、下载所需的包安装jdk, 最好1.8安装tomcat服... 阅读全文
posted @ 2017-08-15 17:52 谷白 阅读(609) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-08-15 16:35 谷白 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 登录账号参数化Login.javapackage com.gubai.selenium;import java.util.HashMap;import java.util.Iterator;import java.util.Map;import java.util.Map.Entry;import ... 阅读全文
posted @ 2017-08-15 01:39 谷白 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 项目结构图Login.javapackage com.gubai.selenium;import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElement;imp... 阅读全文
posted @ 2017-08-15 01:08 谷白 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 项目结构图代码:1、Login.javapackage com.gubai.selenium;import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElemen... 阅读全文
posted @ 2017-08-15 00:16 谷白 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 登录脚本重构Elementpackage com.gubai.selenium;import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElement;impor... 阅读全文
posted @ 2017-08-14 21:43 谷白 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 一、ant安装与环境配置1、配置jdk环境2、配置ant,需要配置ant环境ANT_HOME=D:\ant\apache-ant-1.10.1 (ant下载包解压路径,apache-ant-1.10.1需要的jdk1.8环境 )CLASSPATH=%ANT_HOME%\libPATH=%... 阅读全文
posted @ 2017-08-14 18:14 谷白 阅读(198) 评论(0) 推荐(0) 编辑
摘要: package com.gubai.selenium;import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElement;import org.openqa.... 阅读全文
posted @ 2017-08-14 00:48 谷白 阅读(237) 评论(0) 推荐(0) 编辑