11 2018 档案
LR使用流程简介之录制方式说明
摘要:1、LR脚本录制方式说明1)HTML-based script基于HTML的脚本 从内存中读取并下载资源,较少的关联处理,可以加入图片检查,回放时需要解析返回的信息 a-基于用户行为的方式 web_link web_image web_submit_form 这种录制的请求,需要前面页面信息的支持 阅读全文
posted @ 2018-11-27 12:41 新美好时代 阅读(315) 评论(0) 推荐(0)
sshd_config配置注释
摘要:# $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $ # This is the sshd server system-wide configuration file. See# sshd_config(5) for more in 阅读全文
posted @ 2018-11-27 12:32 新美好时代 阅读(811) 评论(0) 推荐(0)
通过Jenkins调用自动部署war包及jar包到服务器上的Shell脚本
摘要:1)部署war包#!/bin/bashif [ id>0];then echo"stopproject" kill −9 idelse echo "project is stopped"fi echo "remover project war file" cd /usr/local/项目部署到tom 阅读全文
posted @ 2018-11-27 12:21 新美好时代 阅读(478) 评论(2) 推荐(0)
CentOS7.3+MySQL5.7+Apache2.4+PHP7.1+phpMyAdmin4.7+JDK1.8+SVN1.6+Jenkins2.1环境搭建
摘要:CentOS7.3+MySQL5.7+Apache2.4+PHP7.1+phpMyAdmin4.7+JDK1.8+SVN1.6+Jenkins2.1环境搭建 1、安装CentOS7.3虚拟机安装说明:在创建虚拟机时,选择桥接模式 1)进入安装界面后,选择Install or upgrade an e 阅读全文
posted @ 2018-11-27 12:13 新美好时代 阅读(674) 评论(0) 推荐(0)
telegraf1.8+influxdb1.6+grafana5.2 环境搭建 结合JMeter3.2
摘要:telegraf1.8+influxdb1.6+grafana5.2 环境搭建 结合JMeter3.2 参考地址:https://blog.csdn.net/laisinanvictor/article/details/80007356 1)配置yum源#配置yum源 /etc/yum.repos. 阅读全文
posted @ 2018-11-27 12:07 新美好时代 阅读(283) 评论(0) 推荐(0)
HttpRunner环境搭建
摘要:官方文档地址:http://cn.httprunner.org/官方源码地址:https://github.com/HttpRunner/HttpRunner HttpRunner 是一款面向 HTTP(S) 协议的通用测试框架,只需编写维护一份 YAML/JSON 脚本,即可实现自动化测试、性能测 阅读全文
posted @ 2018-11-27 12:03 新美好时代 阅读(224) 评论(0) 推荐(0)
Jenkins中启动从节点时,出现问题如何解决,问题:No Known Hosts...
摘要:Jenkins中,启动从节点时,出现如下问题如何解决:/root/.ssh/known_hosts [SSH] No Known Hosts file was found at /root/.ssh/known_hosts. Please ensure one is created at this 阅读全文
posted @ 2018-11-27 12:02 新美好时代 阅读(1641) 评论(0) 推荐(0)
JMeter配置元件作用域
摘要: 阅读全文
posted @ 2018-11-27 11:58 新美好时代 阅读(140) 评论(0) 推荐(0)
python读xml文件
摘要:# -*- coding:utf-8 -*- import jsonimport requestsimport oscurpath=os.path.dirname(os.path.realpath(__file__))xmlpath=os.path.join(curpath,'read1.xml') 阅读全文
posted @ 2018-11-27 11:51 新美好时代 阅读(157) 评论(0) 推荐(0)
使用poi或jxl,通过java读写xls、xlsx文档
摘要:package nicetime.com.baseutil;import jxl.Sheet;import jxl.Workbook;import jxl.read.biff.BiffException;import jxl.write.Label;import jxl.write.Writable 阅读全文
posted @ 2018-11-27 11:25 新美好时代 阅读(711) 评论(0) 推荐(0)
编写生成32位大写和小写字符的md5的函数
摘要:package nicetime.com.practise;import java.security.MessageDigest;/** * MD5加密是JAVA应用中常见的算法,请写出两个MD5算法生成32位大写的CapitalMD5方法 和 生成32位小写的 AngelinaMD5 方法 */p 阅读全文
posted @ 2018-11-27 11:17 新美好时代 阅读(517) 评论(0) 推荐(0)
将一个字符与对应Ascii码互转
摘要:package nicetime.com.practies; /** * Java中将一个字符与对应Ascii码互转 1 byte = 8bit 可以表示 0-127 */public class GenerateASCIIDigit { /* * 0-9对应Ascii 48-57 A-Z 65-9 阅读全文
posted @ 2018-11-26 23:57 新美好时代 阅读(480) 评论(0) 推荐(0)
生成随机删除的航班信息
摘要:package nicetime.com.baseutil; import java.util.Random; /** * @author nicetime * @create 2018-10-14 16:06 */public class FlightUtil{ public static voi 阅读全文
posted @ 2018-11-26 23:56 新美好时代 阅读(183) 评论(0) 推荐(0)
随机选择航班城市
摘要:package nicetime.com.baseutil; import java.text.SimpleDateFormat;import java.util.Calendar;import java.util.Date;import java.util.Random; /** * @autho 阅读全文
posted @ 2018-11-26 23:55 新美好时代 阅读(235) 评论(0) 推荐(0)
Python3+selenium3环境搭建笔记
摘要:系统:win7 64位浏览器:ie9 64位 chrome70 32位 firefox63 64位python版本:3.6.5 Windows x86 executable installerselenium版本:selenium3.141.0 1、安装指定版本selenium3pip instal 阅读全文
posted @ 2018-11-26 23:49 新美好时代 阅读(415) 评论(0) 推荐(0)
allure使用简介
摘要:#安装依赖包pip install requests_toolbeltpip install pyyamlpip install pytest-allure-adaptor #安装allure2 说明一下,这边要正常使用allure2,需基于python3.6+allure2.8.0+pytest3 阅读全文
posted @ 2018-11-26 23:47 新美好时代 阅读(309) 评论(0) 推荐(0)