草庐IT

allurereport

全部标签

jmeter jtl 生成 allurereport

别的不说,直接上代码主要逻辑:通过jmeter运行后生成的jtl(output=xml)格式的结果,通过python脚本转html报告。(output=csv格式的jmeter-o自带的可以生成)准备python3环境+python+allurevimJtlToReportHTML.py```#-*-coding:utf-8-*-#@Time:2022/4/11下午6:06#@Author:sleeli#@File:JtlToReportHTML.py#@Software:PyCharm#-*-coding:utf-8-*-#@Time:2022/4/114:29下午importxml.etr