步进线程组引发错误 [英] Stepping Thread Group throws error

查看:220
本文介绍了步进线程组引发错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

测试如下:

主要脚本"-测试计划 步进线程组

"MAIN SCRIPT " -Test Plan Stepping Thread Group

     Test Fragment
                  Include Controller - TT3.jmx
                  Include Controller - TT6.jmx

         "TT3" Thread Group
                    Does  some actions like Login,Select Projoect,Logout
                    No.Of Users  : 7
                   CSV Dats Config  file : For UserName & Password(TT3.csv)


         "TT6 End" Thread Group
                  Does  some actions like Login,Select Projoect,Logout
                    No.Of Users  : 2
                   CSV Dats Config  file : For UserName & Password(TT6.csv)

当我执行测试时,抛出以下错误:

When I exectued the test Throws below error:

2015/04/03 12:40:11信息-jmeter.control.IncludeController:loadIncludedElements-尝试加载包含的模块:E:\ JMETER \ J_Scripts \ TT3_UsingPort8080.jmx 2015/04/03 12:40:11警告-jmeter.control.IncludeController:在包含的测试计划中未找到测试片段,返回了空的HashTree 2015/04/03 12:40:11信息-jmeter.control.IncludeController:loadIncludedElements-尝试加载包含的模块:E:\ JMETER \ J_Scripts \ TT6_UsingPort8080.jmx 2015/04/03 12:40:11警告-jmeter.control.IncludeController:在包含的测试计划中未找到测试片段,返回了空的HashTree 2015/04/03 12:40:12信息-jmeter.control.IncludeController:loadIncludedElements-尝试加载包含的模块:E:\ JMETER \ J_Scripts \ TT3_UsingPort8080.jmx 2015/04/03 12:40:12警告-jmeter.control.IncludeController:在包含的测试计划中未找到测试片段,返回了空的HashTree 2015/04/03 12:40:12信息-jmeter.control.IncludeController:loadIncludedElements-尝试加载包含的模块:E:\ JMETER \ J_Scripts \ TT6_UsingPort8080.jmx 2015/04/03 12:40:12警告-jmeter.control.IncludeController:在包含的测试计划中未找到测试片段,返回了空的HashTree 2015/04/03 12:41:33信息-jmeter.control.IncludeController:loadIncludedElements-尝试加载包含的模块:E:\ JMETER \ J_Scripts \ TT3_UsingPort8080.jmx 2015/04/03 12:41:33警告-jmeter.control.IncludeController:在包含的测试计划中未找到测试片段,返回了空的HashTree 2015/04/03 12:41:33信息-jmeter.control.IncludeController:loadIncludedElements-尝试加载包含的模块:E:\ JMETER \ J_Scripts \ TT6_UsingPort8080.jmx 2015/04/03 12:41:33警告-jmeter.control.IncludeController:在包含的测试计划中未找到测试片段,返回了空的HashTree

2015/04/03 12:40:11 INFO - jmeter.control.IncludeController: loadIncludedElements -- try to load included module: E:\JMETER\J_Scripts\TT3_UsingPort8080.jmx 2015/04/03 12:40:11 WARN - jmeter.control.IncludeController: No Test Fragment was found in included Test Plan, returning empty HashTree 2015/04/03 12:40:11 INFO - jmeter.control.IncludeController: loadIncludedElements -- try to load included module: E:\JMETER\J_Scripts\TT6_UsingPort8080.jmx 2015/04/03 12:40:11 WARN - jmeter.control.IncludeController: No Test Fragment was found in included Test Plan, returning empty HashTree 2015/04/03 12:40:12 INFO - jmeter.control.IncludeController: loadIncludedElements -- try to load included module: E:\JMETER\J_Scripts\TT3_UsingPort8080.jmx 2015/04/03 12:40:12 WARN - jmeter.control.IncludeController: No Test Fragment was found in included Test Plan, returning empty HashTree 2015/04/03 12:40:12 INFO - jmeter.control.IncludeController: loadIncludedElements -- try to load included module: E:\JMETER\J_Scripts\TT6_UsingPort8080.jmx 2015/04/03 12:40:12 WARN - jmeter.control.IncludeController: No Test Fragment was found in included Test Plan, returning empty HashTree 2015/04/03 12:41:33 INFO - jmeter.control.IncludeController: loadIncludedElements -- try to load included module: E:\JMETER\J_Scripts\TT3_UsingPort8080.jmx 2015/04/03 12:41:33 WARN - jmeter.control.IncludeController: No Test Fragment was found in included Test Plan, returning empty HashTree 2015/04/03 12:41:33 INFO - jmeter.control.IncludeController: loadIncludedElements -- try to load included module: E:\JMETER\J_Scripts\TT6_UsingPort8080.jmx 2015/04/03 12:41:33 WARN - jmeter.control.IncludeController: No Test Fragment was found in included Test Plan, returning empty HashTree

有人想念我可以告诉我吗?

Could some one please advise me wher am I missing?

谢谢, 拉吉

推荐答案

包括外部JMX文件的正确方法是通过测试片段

The correct way of including external JMX files is via Test Fragments

根据包含控制器文档:

include控制器设计为使用外部jmx文件.要使用它,请在测试计划"下创建一个测试片段",并在其下方添加任何所需的采样器,控制器等.

The include controller is designed to use an external jmx file. To use it, create a Test Fragment underneath the Test Plan and add any desired samplers, controllers etc. below it.

查看您的日志文件TT.jmx脚本似乎没有测试片段

Looking into your log file TT.jmx scripts don't seem to have Test Fragments

参考文献:

  • JMeter bug 55464
  • How to Manage Large JMeter Scripts With JMeter Test Fragments

这篇关于步进线程组引发错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆