随笔分类 -  测试

摘要:https://www.cnblogs.com/hong-fithing/p/14098210.html 阅读全文
posted @ 2026-02-10 10:54 iTao0128 阅读(2) 评论(0) 推荐(0)
摘要:方法1:生成报告时指定粒度 在生成HTML报告时通过命令行参数指定:(单位毫秒) jmeter -g results.jtl -o report_output_folder -Jjmeter.reportgenerator.overall_granularity=10000 或者使用generate 阅读全文
posted @ 2026-02-09 16:38 iTao0128 阅读(2) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_44707404/article/details/133889934 阅读全文
posted @ 2026-02-05 18:30 iTao0128 阅读(3) 评论(0) 推荐(0)
摘要:mysql中my.ini或my.cfg文件 阅读全文
posted @ 2025-09-24 21:18 iTao0128 阅读(8) 评论(0) 推荐(0)
摘要:Jenkins 无法搜索插件, 错误信息ERROR: Signature verification failed in update site 参考文档 https://blog.csdn.net/weixin_43537484/article/details/120370719 /etc/sysc 阅读全文
posted @ 2024-12-25 22:27 iTao0128 阅读(226) 评论(0) 推荐(0)
摘要:参考 https://blog.csdn.net/weixin_45131680/article/details/142759961 点击Manage Jenkins 下滑到System Configuration 点击Manage Plugins 点击“可选插件”,输入“Locale” 点击Ins 阅读全文
posted @ 2024-11-18 11:52 iTao0128 阅读(3354) 评论(0) 推荐(0)
摘要:linux安装maven及环境配置 一、maven下载地址,安装binaries版本 https://dlcdn.apache.org/maven/maven-3/3.8.8/ 或者使用wget命令命令:wget https://dlcdn.apache.org/maven/maven-3/3.8. 阅读全文
posted @ 2024-11-14 10:53 iTao0128 阅读(78) 评论(0) 推荐(0)
摘要:pom文件配置 <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2024-11-12 22:18 iTao0128 阅读(23) 评论(0) 推荐(0)
摘要:添加依赖 <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.10</version> </dependency> <dependency> <groupId>com.releva 阅读全文
posted @ 2024-11-09 22:35 iTao0128 阅读(54) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/2f934240699e https://blog.csdn.net/cold___play/article/details/135416968 阅读全文
posted @ 2024-09-15 22:15 iTao0128 阅读(21) 评论(0) 推荐(0)
摘要:基准测试 (Performance Benchmark Test) 基准测试是每次对外发布产品版本前必须要完成的测试类型。它会基于固定的环境和架构(固定的服务器、稳定的网络环境、固定的集群、固定的系统配置、固定的数据库等),通过执行固定的性能测试场景得到系统的性能测试报告,然后与上一版本发布时的基准 阅读全文
posted @ 2024-09-03 14:10 iTao0128 阅读(91) 评论(0) 推荐(0)
摘要:在将源代码打包为jar文件后,你可以按照以下步骤来执行TestNG的测试用例: 确保在jar包中包含了所有的测试类和相关的依赖库。 在jar包所在的目录下创建一个TestNG的XML配置文件,可以命名为testng.xml。 在配置文件中指定要执行的测试类或方法。你可以使用<classes>和<me 阅读全文
posted @ 2024-08-24 16:41 iTao0128 阅读(278) 评论(0) 推荐(0)
摘要:maven项目,把testng用例放在test目录下,配置pom.xml 文件如下,执行mvn test 能自动执行testng里面的用例。 pom文件配置 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://ww 阅读全文
posted @ 2023-09-03 23:00 iTao0128 阅读(376) 评论(0) 推荐(0)
摘要:查看官网:https://docs.qameta.io/allure/#_junit_5 源码example: https://github.com/allure-examples/allure-examples/tree/master/allure-junit5/src/test/java/io/ 阅读全文
posted @ 2023-08-26 10:58 iTao0128 阅读(77) 评论(0) 推荐(0)
摘要:命令格式: allure [option] [command] [command options] allure --help 帮助 allure --version 查看版本信息 allure serve 生成在线版本的测试 allure generate <allure-result中间文件> 阅读全文
posted @ 2023-08-25 23:00 iTao0128 阅读(556) 评论(0) 推荐(0)
摘要:1、安装 Java (推荐 1.8 版本),需要配置环境变量2、安装 Allure (2.13以上版本),需要配置环境变量 【下载地址】 https://repo1.maven.org/maven2/io/qameta/allure/allure-commandline/ mac/linux: 下载 阅读全文
posted @ 2023-08-25 22:19 iTao0128 阅读(289) 评论(0) 推荐(0)
摘要:给用例添加禁用标识,被禁用的用例执行后会添加跳过的状态,可以禁用测试类、也可以禁用测试方法 注意:IDEA 不支持,maven 构建才支持 import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Tag; import 阅读全文
posted @ 2023-08-25 21:53 iTao0128 阅读(99) 评论(0) 推荐(0)
摘要:通过 Tag 对用例分组: 环境分组: 测试环境、预发布环境 阶段分组: 冒烟用例 版本分组: V1.1、V1.2 设置标签 根据标签执行 结合 Maven 执行 结合测试套件执行 import org.junit.jupiter.api.Tag; import org.junit.jupiter. 阅读全文
posted @ 2023-08-25 21:37 iTao0128 阅读(70) 评论(0) 推荐(0)
摘要:import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.RepeatedTest; import org.junit.jupiter.api.Test; public class RepeatedExampleTe 阅读全文
posted @ 2023-08-25 21:20 iTao0128 阅读(27) 评论(0) 推荐(0)