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

相关推荐
北京_宏哥4 小时前
🔥Jmeter(二十三) - 从入门到精通 - JMeter函数 - 上篇(详解教程)
前端·jmeter·面试
Ctrl С4 小时前
[三分钟]入门web自动化测试(一):1.使用驱动管理下载web驱动(WebDriver);2.初步认识和使用Selenium
selenium·测试工具·自动化·web
qq_400552004 小时前
CI/CD自动化部署(持续集成和持续交付/部署)
运维·ci/cd·自动化
李菠菜5 小时前
JMeter内存配置全平台指南
jmeter·测试
ai大佬17 小时前
Java 开发玩转 MCP:从 Claude 自动化到 Spring AI Alibaba 生态整合
java·spring·自动化·api中转·apikey
VI8664956I2618 小时前
全链路自动化AIGC内容工厂:构建企业级智能内容生产系统
运维·自动化·aigc
漫谈网络1 天前
基于 Netmiko 的网络设备自动化操作
运维·自动化·netdevops·netmiko
猿周LV1 天前
JMeter 安装及使用 [软件测试工具]
java·测试工具·jmeter·单元测试·压力测试
工头阿乐1 天前
Appium自动化开发环境搭建
运维·appium·自动化
夸克App2 天前
实现营销投放全流程自动化 超级汇川推出信息流智能投放产品“AI智投“
运维·人工智能·自动化