{"id":13623186,"url":"https://github.com/zyanycall/stressTestPlatform","last_synced_at":"2025-04-15T14:32:27.198Z","repository":{"id":36385869,"uuid":"40690750","full_name":"zyanycall/stressTestPlatform","owner":"zyanycall","description":"基于Jmeter实现的在线压测和管理Jmx的平台。","archived":false,"fork":false,"pushed_at":"2023-07-07T21:58:27.000Z","size":33909,"stargazers_count":627,"open_issues_count":11,"forks_count":345,"subscribers_count":59,"default_branch":"master","last_synced_at":"2024-11-05T07:02:22.956Z","etag":null,"topics":["echarts","jmeter","jmeter-api","platform","stress","test","vue2"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zyanycall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-08-14T02:01:09.000Z","updated_at":"2024-11-01T08:20:52.000Z","dependencies_parsed_at":"2023-10-21T13:42:29.630Z","dependency_job_id":null,"html_url":"https://github.com/zyanycall/stressTestPlatform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyanycall%2FstressTestPlatform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyanycall%2FstressTestPlatform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyanycall%2FstressTestPlatform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyanycall%2FstressTestPlatform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zyanycall","download_url":"https://codeload.github.com/zyanycall/stressTestPlatform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223677487,"owners_count":17184482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["echarts","jmeter","jmeter-api","platform","stress","test","vue2"],"created_at":"2024-08-01T21:01:29.001Z","updated_at":"2024-11-08T11:30:27.787Z","avatar_url":"https://github.com/zyanycall.png","language":"JavaScript","readme":"**项目说明** \n- 本项目基于renren-fast Java开发平台开发，内核基于Jmeter-Api和Jmeter脚本实现在线性能压测。\n\n**插播广告：**\n\n如果有需要，请帮忙支持一下：https://juejin.im/post/5e2159215188254e1c43a585\n互帮互助，感谢。\n\n**平台特点** \n- 友好的代码结构及注释，便于阅读及二次开发\n- 实现前后端分离，通过token进行数据交互，前端再也不用关注后端技术\n- 灵活的权限控制，可控制到页面或按钮，满足绝大部分的权限需求\n- 页面交互使用Vue2.x，极大的提高了开发效率\n- 完善的代码生成机制，可在线生成entity、xml、dao、service、html、js、sql代码，减少70%以上的开发任务\n- 引入quartz定时任务，可动态完成任务的添加、修改、删除、暂停、恢复及日志查看等功能\n- 引入API模板，根据token作为登录令牌，极大的方便了APP接口开发\n- 引入Hibernate Validator校验框架，轻松实现后端校验\n- 引入云存储服务，已支持：七牛云、阿里云、腾讯云等\n- 引入swagger文档支持，方便编写API接口文档\n- 引入路由机制，刷新页面会停留在当前页\n- 引入最新版本Jmeter-Api，支持分布式压测，测试报告生成及在线查看下载。\n- 引入Echarts，支持在线观测性能压测结果。\n\n\u003cbr\u003e \n\n**项目结构** \n```\nrenren-fast\n├─doc  项目SQL语句\n│\n│─lib  项目引用jar包\n│\n├─common 公共模块\n│  ├─aspect 系统日志\n│  ├─exception 异常处理\n│  ├─validator 后台校验\n│  └─xss XSS过滤\n│ \n├─config 配置信息\n│ \n├─modules 功能模块\n│  ├─api API接口模块(APP调用)\n│  ├─job 定时任务模块\n│  ├─oss 文件服务模块\n│  ├─sys 权限模块\n│  └─test 测试模块\n│ \n├─RenrenApplication 项目启动类\n│  \n├──resources \n│  ├─mapper SQL对应的XML文件\n│  ├─static 第三方库、插件等静态资源\n│  └─views  项目静态页面\n\n```\n\n\n**技术选型：** \n- 核心框架：Spring Boot 1.5\n- 安全框架：Apache Shiro 1.3\n- 视图框架：Spring MVC 4.3\n- 持久层框架：MyBatis 3.3\n- 定时器：Quartz 2.3\n- 数据库连接池：Druid 1.0\n- 日志管理：SLF4J 1.7、Log4j\n- 页面交互：Vue2.x \n- 前端监控：ECharts 3.8\n- 压测内核：Apache JMeter 4.0\n- 脚本调用内核：Apache Commons Exec 1.3\n- 远程执行命令：Ganymed build210\n- 批量上传组件：bootstrap-fileinput v4.5.2\n- JVM内部缓存：Guava 18.0\n\u003cbr\u003e \n\n\n **本地部署**\n- 通过git下载源码\n- 创建数据库renren_fast，数据库编码为UTF-8\n- 执行doc/db.sql文件，初始化数据\n- 修改application-dev.yml，更新MySQL账号和密码\n- 修改MySQL中sys_config表中Jmeter专属配置项，更新为本地地址\n- Eclipse、IDEA运行RenrenApplication.java，则可启动项目\n- 项目访问路径：http://localhost:8080/renren-fast/index.html\n- 账号密码：admin/admin\n- Swagger路径：http://localhost:8080/renren-fast/swagger/index.html\n\n **tomcat部署**\n- 修改application.yml，修改profiles，指定执行环境如线下环境pro\n- 修改application-pro.yml，更新线下环境的MySQL账号和密码\n- 修改MySQL中sys_config表中Jmeter专属配置项，更新为本地地址\n- 通过maven命令打包war包：mvn clean package -f pom-war.xml\n- 将target目录下，打包好的war包保存到tomcat的webapps目录下\n- 通过tomcat的bin目录下的startup命令，启动tomcat\n- 访问tomcat路径，如：http://线下环境ip:8080/renren-fast/index.html\n- 账号密码：admin/admin\n\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyanycall%2FstressTestPlatform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzyanycall%2FstressTestPlatform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyanycall%2FstressTestPlatform/lists"}