2017年10月19日

int与integer的区别

摘要: int与integer的区别 1.Integer是int提供的封装类,而int是java的基本数据类型 2.Integer默认值是null,而int默认值是0; 3.声明为Integer的变量需要实例化,而声明为int的变量不需要实例化 4.Integer是对象,用一个引用指向这个对象,而int是基 阅读全文

posted @ 2017-10-19 10:30 hong_0632 阅读(581) 评论(0) 推荐(0) 编辑

2017年10月17日

在JAVA中把JSON数据格式化输出到控制台

摘要: 以上代码执行结果如下图显示 阅读全文

posted @ 2017-10-17 15:22 hong_0632 阅读(19937) 评论(0) 推荐(0) 编辑

2017年3月7日

在Eclipse中将程序代码和注释字体变大

摘要: Eclipse IDE menu -> Window -> Preferences -> General ->Appearance->Colors and Fonts ->Java Editor Text Font ->Edit ->字体五号,脚本:中欧字符 ->确定和OK 阅读全文

posted @ 2017-03-07 10:57 hong_0632 阅读(223) 评论(0) 推荐(0) 编辑

在eclipse中添加行号

摘要: 步骤:Eclipse IDE menu -> Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers 阅读全文

posted @ 2017-03-07 10:35 hong_0632 阅读(144) 评论(0) 推荐(0) 编辑

2017年3月1日

Eclipse运行自动化脚本报错: invalid element state: Element is not currently interactable and may not be manipulated

摘要: Exception in thread "main" org.openqa.selenium.InvalidElementStateException: invalid element state: Element is not currently interactable and may not 阅读全文

posted @ 2017-03-01 15:20 hong_0632 阅读(639) 评论(0) 推荐(0) 编辑

2017年2月16日

ant执行Jmeter用例的build.xml

摘要: <?xml version="1.0" encoding="UTF-8"?> <project name="Jmeter-TestCase" default="run" basedir="."> <tstamp> <format property="time" pattern="yyyyMMddhh 阅读全文

posted @ 2017-02-16 17:13 hong_0632 阅读(220) 评论(0) 推荐(0) 编辑

ant执行jmeter用例

摘要: 1解压apache-ant-1.9.7.rar文件,配置环境变量path 增加D:\app\apache-ant-1.9.7\bin cmd 执行ant,出现下图,代表ant安装成功 2.将apache-jmeter-2.13\extras文件下的ant-jmeter-1.1.1.jar放到apac 阅读全文

posted @ 2017-02-16 17:11 hong_0632 阅读(88) 评论(0) 推荐(0) 编辑

2017年2月15日

Jmeter调试工具---HTTP Mirror Server 【转载】

摘要: 之前我介绍过Jmeter的一种调试工具Debug Sampler,它可以输出Jmeter的变量、属性甚至是系统属性而不用发送真实的请求到服务器。既然这样,那么HTTP Mirror Server又是做什么用的呢? 一、HTTP Mirror Server的作用: 它可以在本地临时搭建一个HTTP服务 阅读全文

posted @ 2017-02-15 16:50 hong_0632 阅读(91) 评论(0) 推荐(0) 编辑

Jmeter调试工具---Debug Sampler 【转载】

摘要: 一、Debug Sampler介绍: 使用Jmeter开发脚本时,难免需要调试,这时可以使用Jmeter的Debug Sampler,它有三个选项:JMeter properties,JMeter variables,System properties: 1、JMeter properties和Sy 阅读全文

posted @ 2017-02-15 16:48 hong_0632 阅读(112) 评论(0) 推荐(0) 编辑

Jmeter 之JDBC Request的使用

摘要: JDBC Request: 这个sampler可以向数据库发送一个jdbc请求(sql语句),它经常需要和JDBC Connection Configuration 配置元件一起配合使用。 1.先添加JDBC Connection Configuration JDBC Connection Conf 阅读全文

posted @ 2017-02-15 10:22 hong_0632 阅读(266) 评论(0) 推荐(0) 编辑

导航