jmeter得到的文档数据处理

通过前面jmeter得到的输出文档,这里是txt文档,里面包含了很多条数据,每条数据的结构如下:

【request】

uuid:xxxxxxx

timestamp:xxxxxxxx

No.x question:xxxxxxx

【response】

code:x

answer:xxxxxxxx

uuid:xxxxxxxx

例如:

【request】

uuid: d4135c---------f19ad3f7

timestamp: 172------14175

No.1 question: Does--------ny have a dedicated customer service team? What are the main functions of the team?

【response】

code: 0

answer: Thank you for contactin--------cal Support! Feel free to contact our phone support team at 8--------- to 5 PM, JST (Daily). If in any case your call won't go through or nobody is answering your call, please dial again or wait for a callback within the day. Rest assured we're always here to help you sort things out.-A--------am

uuid: c---------c4d9ab2

这些数据需要查看一下内容是否正确,所以要翻译成中文,由于内容数量较大,使用一些翻译工具不能够很好的完成,一些python的翻译模块是收费翻译,最后想到了这样一个方法:

在最终在得到的txt文档中添加:<pre> ... </pre> 保存后将文件名改为html,使用chrome浏览器打开,使用谷歌翻译,这样效果比较好。

相关推荐
1.01^10006 小时前
[5-02-04].第01节:Jmeter环境搭建:
jmeter
半导体守望者9 小时前
ADVANTEST R3764 66 R3765 67爱德万测试networki connection programming网络程序设计手册
经验分享·笔记·功能测试·自动化·制造
东方佑13 小时前
使用 Python 自动化 Word 文档样式复制与内容生成
python·自动化·word
太阳之神aboluo15 小时前
压测软件-Jmeter
java·运维·jmeter
三千花灯15 小时前
jmeter之导出接口
jmeter
文人sec15 小时前
性能测试-jmeter实战2
jmeter
会又不会15 小时前
JMeter-SSE响应数据自动化2.0
jmeter·自动化
程序媛_15 小时前
【JMeter】后置处理器 - 提取器
jmeter
程序员三藏15 小时前
如何使用Jmeter进行压力测试?
自动化测试·软件测试·python·测试工具·jmeter·测试用例·压力测试
新加坡内哥谈技术17 小时前
Meta计划借助AI实现广告创作全自动化
运维·人工智能·自动化