51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 1053|回复: 3
打印 上一主题 下一主题

请问下这种格式的jtl文件是怎么生成的?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2022-8-12 10:36:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
正常生成的jtl文件如第一段,第二段jtl文件请问有人知道是怎么生成的吗?好像是改jmeter的哪个配置。
第一段jtl文件

<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<httpSample t="626" it="0" lt="623" ct="28" ts="1660271118350" s="true" lb="测试文件上传3" rc="200" rm="OK" tn="线程组 1-1" dt="text" by="617" sby="3469377" ng="1" na="1">
  <assertionResult>
    <name>JSON断言</name>
    <failure>false</failure>
    <error>false</error>
    <failureMessage></failureMessage>
  </assertionResult>
  <responseHeader class="java.lang.String">HTTP/1.1 200 OK
X-Powered-By: Express
transfer-encoding: chunked
access-control-allow-headers: X-Requested-With, Tenant-Id, idp-auth, Content-Type, Authorization, credential, X-XSRF-TOKEN, token, username, client
access-control-allow-methods: GET,POST,PUT,DELETE,OPTIONS,HEAD



-----------------------------------------------------------------------------------------------------------------
第二段jtl文件
<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<org.apache.jmeter.protocol.http.sampler.HTTPSampleResult>
  <saveConfig>
    <time>true</time>
    <latency>true</latency>
    <connectTime>true</connectTime>
    <timestamp>true</timestamp>
    <success>true</success>
    <label>true</label>
    <code>true</code>
    <message>true</message>
    <threadName>true</threadName>
    <dataType>true</dataType>
    <encoding>false</encoding>
    <assertions>true</assertions>
    <subresults>true</subresults>
    <responseData>true</responseData>
    <samplerData>true</samplerData>
    <xml>true</xml>
    <fieldNames>true</fieldNames>
    <responseHeaders>true</responseHeaders>

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2022-8-12 16:30:28 | 只看该作者
jtl文件是怎么生成的
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-5 12:25 , Processed in 0.066106 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表