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

相关推荐
qq_白羊座6 小时前
UI自动化:seldom框架和Selenium
selenium·ui·自动化
泽众云测试6 小时前
泽众TestOne推出快速测试用例设计,让自动化更快捷
自动化·测试用例
自由鬼6 小时前
OpenAI定义的Agent新范式如何构建自动化系统
运维·ai·自动化·agent
酷熊代理9 小时前
软路由如何屏蔽国外IP?RouterOS保姆级实战教程(附自动化脚本)
运维·网络协议·tcp/ip·自动化·智能路由器·软路由·小猫pptp
Sliphades10 小时前
C# Exe + Web 自动化 (BitComet 绿灯 自动化配置、设置)
运维·自动化
struggle202511 小时前
Browser Copilot 开源浏览器扩展,使用现有或定制的 AI 助手来完成日常 Web 应用程序任务。
人工智能·自然语言处理·数据分析·自动化·copilot·deepseek
HUWD12 小时前
基于gitea+act_runner 搭建CI/CD自动化部署
ci/cd·自动化·gitea
一直在学习的小白~1 天前
前端项目中创建自动化部署脚本,用于 Jenkins 触发 npm run publish 来完成远程部署
前端·自动化·jenkins
海棠如醉1 天前
Android自动化测试工具
运维·自动化
CASAIM1 天前
3D打印VS传统注塑:小批量生产如何选择?
3d·自动化