05 2022 档案

摘要:1,把war包放到tomcat webapp下重启; 2,在数据库里创建jforum;(需要先安装数据库mysql,win安装MySQL教程:https://blog.csdn.net/HBT036017/article/details/104850202/) 3,访问http://192.168. 阅读全文
posted @ 2022-05-17 10:54 GoodMorning9527 阅读(46) 评论(0) 推荐(0) 编辑
摘要:路径范例: JAVA_HOME E:\Java\jdk1.6.0_10CATALINA_BASE E:\Java\apache-tomcat-6.0.29CATALINA_HOME E:\Java\apache-tomcat-6.0.29TOMCAT_HOME E:\Java\apache-tomc 阅读全文
posted @ 2022-05-17 10:31 GoodMorning9527 阅读(31) 评论(0) 推荐(0) 编辑
摘要:1,把下载好的插件包复制到对应的python下面的site-packages包里面 2,查看各个包下载的路径是否一致 3,可参考以下地址 https://www.cnblogs.com/linuxchao/archive/2018/09/30/linuxchao-jenkins-pro.html 阅读全文
posted @ 2022-05-13 15:47 GoodMorning9527 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Apply to:应用范围要检查的响应字段:样本数据源引用名称:其他地方引用时的变量名称,引用方法:${引用名称}正则表达式:数据提取器 . 匹配任何字符 + 一次或更多次 ? 停止在第一个匹配成功时模板:表示使用提取到的第几个值:$-1$:表示取所有值$0$:表示随机取值$1$:表示取第1个$2$ 阅读全文
posted @ 2022-05-10 09:49 GoodMorning9527 阅读(341) 评论(0) 推荐(0) 编辑
摘要:locust性能测试(python) 附件只能以文件名或者文件夹名开头,不然找不到结果文件 阅读全文
posted @ 2022-05-08 14:14 GoodMorning9527 阅读(18) 评论(0) 推荐(0) 编辑
摘要:pytest.main(['-v','-s', "--html=./allure-report/result_report.html", 'test_57.py']) 阅读全文
posted @ 2022-05-07 17:40 GoodMorning9527 阅读(29) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash -ilex python allure_01.pyexit 0 # -*- coding: utf-8 -*-import osimport pytestclass Test_011(): def test_01(self): print("zheshi1") def tes 阅读全文
posted @ 2022-05-06 21:22 GoodMorning9527 阅读(38) 评论(0) 推荐(0) 编辑
摘要:python -m pip install pip==20.0.2 阅读全文
posted @ 2022-05-06 19:32 GoodMorning9527 阅读(68) 评论(0) 推荐(0) 编辑
摘要:Traceback (most recent call last): File "main.py", line 1, in <module> import pytest ModuleNotFoundError: No module named 'pytest' 当程序在本地可以运行并可生成报告,但是 阅读全文
posted @ 2022-05-06 11:15 GoodMorning9527 阅读(773) 评论(0) 推荐(0) 编辑
摘要:关于修改mac终端上的默认python版本(zsh):(2.7->3.9) *以下操作只适合shell为zsh的MAC(终端标题上有显示) 打开终端 输入"which python3",复制得到的python3.9安装位置 输入"open ~/.zshrc" 如果成功打开配置文件(下图名为“.zsh 阅读全文
posted @ 2022-05-05 23:05 GoodMorning9527 阅读(91) 评论(0) 推荐(0) 编辑
摘要:if __name__ == '__main__': pytest.main(["./test_chengdu.py", "--alluredir", "./target/allure-results","--clean-alluredir"]) os.system('allure generate 阅读全文
posted @ 2022-05-05 17:59 GoodMorning9527 阅读(48) 评论(0) 推荐(0) 编辑
摘要:启动 java -jar ./jenkins.war –httpPort=8080重启 /restart 阅读全文
posted @ 2022-05-05 09:26 GoodMorning9527 阅读(46) 评论(0) 推荐(0) 编辑
摘要:Tomcat地址(cd到bin目录下,war放到webAPP下面,自动解压;启动命令为./startup.sh) localhost:8080 搭建测试环境主要有以下几步: 1)安装CentOS操作系统(在云主机上,只需要选择对应的操作系统即可); 2)安装JDK、MySQL数据库、Tomcat服务 阅读全文
posted @ 2022-05-03 15:50 GoodMorning9527 阅读(425) 评论(0) 推荐(0) 编辑
摘要:下载 brew install jenkins ## 启动brew services start jenkins## 重启brew services restart jenkins 为了确保管理员安全地安装 Jenkins,密码已写入到日志中(不知道在哪里?)该文件在服务器上: /Users/wan 阅读全文
posted @ 2022-05-03 13:49 GoodMorning9527 阅读(229) 评论(0) 推荐(0) 编辑
摘要:半双工: 1,数据传输指数据可以在一个信号载体的两个方向传输,但是不能同时传输; 全双工: 1,通讯传输的一个术语,通讯允许数据在两个方向同时传输,他在能力上相当于两个单工通信方式的结合;全双工是指可以同时(瞬时)进行信号的双向传输,即A→B的同时B→A,是瞬时同步的。 阅读全文
posted @ 2022-05-01 23:06 GoodMorning9527 阅读(40) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示