Closed asfimport closed 18 years ago
Richard Gaywood (migrated from Bugzilla): Created attachment script1.jmx: Top-level test plan
true
false
Richard Gaywood (migrated from Bugzilla): Created attachment component_google.jmx: Included test plan
Richard Gaywood (migrated from Bugzilla): Created attachment run.bat: Batch file to run JMeter in non-gui mode
Richard Gaywood (migrated from Bugzilla): Created attachment results_gui.csv: Results file from GUI run
Richard Gaywood (migrated from Bugzilla): Created attachment results_nongui.csv: Results file from non-GUI run
Richard Gaywood (migrated from Bugzilla): Created attachment jmeter_gui.log: Log file from GUI run
Richard Gaywood (migrated from Bugzilla): Created attachment results_nongui.csv: Log file from non-GUI run
Richard Gaywood (migrated from Bugzilla): Running the test plans in and out of the GUI with DEBUG level loggging gives, for part of the log, the results below. The key difference is the error "jmeter.control.TransactionController: Could not fetch SamplePackage" in the non-GUI run, which presumably is something to do with the cause of this bug.
non-GUI:-
2006/02/16 15:51:49 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.LoopController 2006/02/16 15:51:49 DEBUG - jmeter.control.TransactionController: Thread-0 load google +++++++++++++++++++++++++++++ 2006/02/16 15:51:49 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.TransactionController 2006/02/16 15:51:49 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.IncludeController 2006/02/16 15:51:49 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.TransactionController 2006/02/16 15:51:49 DEBUG - jmeter.control.TransactionController: Thread-0 load google -----------------------------2 2006/02/16 15:51:49 WARN - jmeter.control.TransactionController: Could not fetch SamplePackage 2006/02/16 15:51:49 DEBUG - jmeter.control.TransactionController: Thread-0 load google -----------------------------2 2006/02/16 15:51:49 DEBUG - jmeter.control.TransactionController: Thread-0 load google already called 2006/02/16 15:51:49 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.LoopController 2006/02/16 15:51:49 DEBUG - jmeter.protocol.http.sampler.HTTPSampler: Start : samplehttp://www.yahoo.com/ 2006/02/16 15:51:50 DEBUG - jmeter.protocol.http.sampler.HTTPSampler: End : sample 2006/02/16 15:51:50 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.LoopController 2006/02/16 15:51:50 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-1 is done
GUI:-
2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.LoopController 2006/02/16 15:54:44 DEBUG - jmeter.control.TransactionController: Thread-3 load google +++++++++++++++++++++++++++++ 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.TransactionController 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.IncludeController 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.GenericController 2006/02/16 15:54:44 DEBUG - jmeter.protocol.http.sampler.HTTPSampler: Start : samplehttp://www.google.co.uk/ 2006/02/16 15:54:44 DEBUG - jmeter.protocol.http.sampler.HTTPSampler: End : sample 2006/02/16 15:54:44 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: Start : updateGui1 2006/02/16 15:54:44 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: updateGui1 : sample result - HTTP Request 2006/02/16 15:54:44 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: End : updateGui1 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.LoopController 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.TransactionController 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.IncludeController 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.GenericController 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.IncludeController 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.TransactionController 2006/02/16 15:54:44 DEBUG - jmeter.control.TransactionController: Thread-3 load google -----------------------------3 2006/02/16 15:54:44 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: Start : updateGui1 2006/02/16 15:54:44 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: updateGui1 : sample result - load google 2006/02/16 15:54:44 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: End : updateGui1 2006/02/16 15:54:44 DEBUG - jmeter.control.TransactionController: Thread-3 load google -----------------------------3 2006/02/16 15:54:44 DEBUG - jmeter.control.TransactionController: Thread-3 load google already called 2006/02/16 15:54:44 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.LoopController 2006/02/16 15:54:44 DEBUG - jmeter.protocol.http.sampler.HTTPSampler: Start : samplehttp://www.yahoo.com/ 2006/02/16 15:54:48 DEBUG - jmeter.protocol.http.sampler.HTTPSampler: End : sample 2006/02/16 15:54:48 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: Start : updateGui1 2006/02/16 15:54:48 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: updateGui1 : sample result - load yahoo 2006/02/16 15:54:48 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: End : updateGui1 2006/02/16 15:54:48 DEBUG - jmeter.control.GenericController: Calling next on: org.apache.jmeter.control.LoopController 2006/02/16 15:54:48 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-1 is done
Richard Gaywood (migrated from Bugzilla): This bug has also been discussed on jmeter-users:
I am not sure if that discussion lead to a bug report being opened or not. If it did, this bug should be marked as a duplicate of that one.
peter lin (migrated from Bugzilla): Looking at this a bit, I think the fix might be as simple as implementing next() for IncludeController and have it check to see if the included modules have been loaded.
peter
Sebb (migrated from Bugzilla): Checked a potential fix into the 2.1 branch.
This is in the nightly build: 2-1.20060315 - please see if it works for you.
Richard Gaywood (Bug 38681): Please see attached script1.jmx (top-level test plan), component_google.jmx (test plan to be included), and run.bat (to run JMeter in non-GUI mode).
This test plan assumes the following structure: 1) Java in D:\jmeter\java\j2sdk1.4.2_07 2) JMeter in D:\jmeter\jakarta-jmeter-2.1.1 3) test plans in D:\jmeter\tests\test
To re-run these files, you will need to edit paths appropriately.
When run in GUI mode, the CSV report generated contains three samplers, as expected. When run in non-GUI mode through the batch command, the included file does not seem to be triggered, and the results file contains only a single line for the Yahoo sampler.
Severity: normal OS: Windows Server 2003