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浏览器打开,使用谷歌翻译,这样效果比较好。

相关推荐
金智维科技官方7 天前
智能体,重构企业自动化未来
人工智能·自动化·agent·智能体·数字员工
梦想的旅途27 天前
企业微信API:外部群自动化推送实战指南
大数据·机器人·自动化·企业微信·rpa
xiaoginshuo7 天前
流程自动化从传统RPA升级到AI Agent,如何匹配合适的自动化方案
人工智能·自动化·rpa
se-tester7 天前
JMeter、Postman 和 SoapUI 在做接口测试上的优势和缺点
测试工具·jmeter·接口测试·postman·soapui
W-琑7 天前
软件测试-自动化测试
功能测试·自动化
牛奶咖啡137 天前
DevOps自动化运维实践_使用再生龙对Linux系统进行备份还原
运维·自动化·devops·linux系统的备份还原·linux系统克隆备份·再生龙
Youngchatgpt7 天前
如何在 Excel 中使用 ChatGPT:自动化任务和编写公式
人工智能·chatgpt·自动化·excel
GAOJ_K7 天前
同步带模组稳定运行的关键
人工智能·科技·自动化·制造
电化学仪器白超7 天前
EC20CEHDLG-128-SNNS调试记录
python·单片机·嵌入式硬件·自动化
志栋智能7 天前
安全超自动化:从被动防御到主动响应的革命
运维·网络·数据库·人工智能·安全·web安全·自动化