步进线程组抛出错误
Stepping Thread Group throws error
测试看起来像这样:
"MAIN SCRIPT " - 测试计划
步进线程组
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)
当我执行测试时抛出以下错误:
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
有人可以告诉我我错过了什么吗?
谢谢,
拉吉
包含外部 JMX 文件的正确方法是通过 Test Fragments
根据 Include Controller 文档:
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 脚本似乎没有测试片段
参考文献:
测试看起来像这样:
"MAIN SCRIPT " - 测试计划 步进线程组
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)
当我执行测试时抛出以下错误:
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
有人可以告诉我我错过了什么吗?
谢谢, 拉吉
包含外部 JMX 文件的正确方法是通过 Test Fragments
根据 Include Controller 文档:
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 脚本似乎没有测试片段
参考文献: