上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页
摘要: 0.背景 组内需要一款轻量级的性能测试工具,之前考虑过LR(太笨重,单实例,当然它的地位是不容置疑的),阿里云的PTS(https://pts.aliyun.com/lite/index.htm, 仅支持阿里云内网和公网机器),Gatling(http://gatling.io/ /)没有TPS数据 阅读全文
posted @ 2019-09-29 11:23 xidianzxm 阅读(821) 评论(1) 推荐(0) 编辑
摘要: 1. Overview In this tutorial, we’ll see how we can define multiple template locations using Thymeleaf in a Spring Boot application. 2. Maven Dependenc 阅读全文
posted @ 2019-09-29 11:19 xidianzxm 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Ngrinder支持Maven结构的测试脚本。使用ScriptHandlerFactory来个脚本选择处理器handler,目前有JythonScriptHandler, GroovyScriptHandler和GroovyMavenProjectHandler三种。 ScriptHandlerFa 阅读全文
posted @ 2019-09-29 10:49 xidianzxm 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Ngrinder脚本开发各细节锦集(groovy) 1、生成随机字符串(import org.apache.commons.lang.RandomStringUtils) 数字:RandomStringUtils.randomNumeric(length); 字母:RandomStringUtils 阅读全文
posted @ 2019-09-28 11:07 xidianzxm 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: Spring Boot 默认会挨个从 META/resources resources static public 里面找是否存在相应的资源,如果有则直接返回。 默认配置: 建议将静态资源和代码分离,将静态资源文件存储在CDN application.properties addResourceHa 阅读全文
posted @ 2019-09-26 16:36 xidianzxm 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: ``` @Configuration public class ThymeleafConfigration { @Bean public SpringResourceTemplateResolver firstTemplateResolver() { SpringResourceTemplateResolver templateResolver = new Spr... 阅读全文
posted @ 2019-09-26 13:15 xidianzxm 阅读(1654) 评论(0) 推荐(0) 编辑
摘要: 1、Prometheus 1)介绍 Prometheus是一套开源的监控&报警&时间序列数据库的组合,基于应用的metrics来进行监控的开源工具 。 架构图: 2)下载 https://prometheus.io/download/ 3)安装 通过指定配置文件prometheus.yml启动Pro 阅读全文
posted @ 2019-09-18 14:48 xidianzxm 阅读(16091) 评论(1) 推荐(2) 编辑
摘要: ``` layui中标准用法如下: form.on('submit(queryCondBtn)', function(data){ // 相关操作 }); ``` ``` layui.use(['form','jquery','layer'],function(){ var form = layui.form, $ = layui.jquery, layer = layui.layer; ... 阅读全文
posted @ 2019-09-17 12:23 xidianzxm 阅读(9227) 评论(0) 推荐(0) 编辑
摘要: 1、/login 2、/logout 阅读全文
posted @ 2019-09-17 09:45 xidianzxm 阅读(400) 评论(0) 推荐(0) 编辑
摘要: Mybatis的关联映射 实际的开发中,对数据库的操作常常会涉及到多张表,这在面向对象中就涉及到了对象与对象之间的关联关系。针对多表之间的操作,MyBatis提供了关联映射, 通过关联映射就可以很好的处理对象与对象之间的关联关系。 1.1 关联关系概述 在关系型数据库中,多表之间存在着三种关联关系, 阅读全文
posted @ 2019-09-10 17:39 xidianzxm 阅读(641) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页